2024-03-05 17:43:42 +00:00
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: deploy
|
|
|
|
image: appleboy/drone-scp
|
|
|
|
settings:
|
2024-03-05 17:56:04 +00:00
|
|
|
host: clam.beaucoup.fish
|
2024-03-05 17:43:42 +00:00
|
|
|
source: site
|
2024-03-05 17:56:04 +00:00
|
|
|
target: /var/www/docsify
|
2024-03-05 17:43:42 +00:00
|
|
|
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
|
2024-03-05 17:56:04 +00:00
|
|
|
actions: "view, Open git, https://gitea.bigyellowfish.com/"
|
|
|
|
click: https://docs.bigyellowfish.com
|
2024-03-05 17:43:42 +00:00
|
|
|
icon: https://woodpecker-ci.org/img/logo.svg
|
|
|
|
tags: robot,${CI_REPO_NAME}
|
|
|
|
message: ${CI_COMMIT_MESSAGE}
|