Add woodpecker build
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Nicholas Horwood 2024-03-05 17:43:42 +00:00
parent 722734f98e
commit 74f80c95a4
1 changed files with 37 additions and 0 deletions

37
.woodpecker Normal file
View File

@ -0,0 +1,37 @@
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}