38 lines
891 B
YAML
38 lines
891 B
YAML
steps:
|
|
|
|
- name: deploy
|
|
image: appleboy/drone-scp
|
|
settings:
|
|
host: clam.beaucoup.fish
|
|
source: site
|
|
target: /var/www/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 git, https://gitea.bigyellowfish.com/"
|
|
click: https://docs.bigyellowfish.com
|
|
icon: https://woodpecker-ci.org/img/logo.svg
|
|
tags: robot,${CI_REPO_NAME}
|
|
message: ${CI_COMMIT_MESSAGE}
|