38 lines
966 B
Plaintext
38 lines
966 B
Plaintext
|
steps:
|
||
|
|
||
|
- name: deploy
|
||
|
image: appleboy/drone-scp
|
||
|
settings:
|
||
|
host: jellyfish.beaucoup.fish
|
||
|
source: site
|
||
|
target: /home/nicholas/docsify
|
||
|
port: 22
|
||
|
username:
|
||
|
from_secret: JELLYFISH_SSH_USERNAME
|
||
|
password:
|
||
|
from_secret: JELLYFISH_SSH_PASSWORD
|
||
|
when:
|
||
|
branch:
|
||
|
- master
|
||
|
event:
|
||
|
exclude:
|
||
|
- pull_request
|
||
|
|
||
|
|
||
|
- name: ntfy
|
||
|
image: codeberg.org/l-x/woodpecker-ntfy
|
||
|
when:
|
||
|
- event: push
|
||
|
- status: [ success, failure ]
|
||
|
settings:
|
||
|
url: https://ntfy.bigyellowfish.com/ntfy-dev
|
||
|
token:
|
||
|
from_secret: NTFY_TOKEN
|
||
|
title: Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}
|
||
|
priority: urgent
|
||
|
actions: "view, Open portal, https://home.nest.com/, clear=true; http, Turn down, https://api.nest.com/, body='{\"temperature\": 65}'"
|
||
|
click: https://where.to.go
|
||
|
icon: https://woodpecker-ci.org/img/logo.svg
|
||
|
tags: robot,${CI_REPO_NAME}
|
||
|
message: ${CI_COMMIT_MESSAGE}
|