frontpage/.woodpecker.yml

34 lines
799 B
YAML
Raw Normal View History

2022-08-21 18:04:27 +02:00
platform: linux/arm64
2022-08-21 18:01:12 +02:00
pipeline:
2022-08-21 18:48:32 +02:00
build:
2022-08-21 18:01:12 +02:00
image: registry.monotremata.xyz/static-page-builder
2022-08-22 12:17:31 +02:00
pull: true
2022-08-21 18:01:12 +02:00
commands:
- make www
- make onion
2022-08-21 18:47:23 +02:00
publish:
image: registry.monotremata.xyz/rsync
2022-08-22 12:17:31 +02:00
pull: true
2022-08-21 18:47:23 +02:00
settings:
host: caladan
2022-08-21 18:47:23 +02:00
user: woodpecker
key:
from_secret: ssh_key
2022-08-22 12:00:32 +02:00
known_hosts:
from_secret: known_hosts
2022-08-22 13:08:59 +02:00
sources: ["html/www", "html/onion"]
2022-08-21 18:47:23 +02:00
target: /srv/sites/frontpage
2022-08-22 11:53:11 +02:00
args: --recursive --human-readable --verbose --delete
2022-08-23 10:19:05 +02:00
notify:
image: registry.monotremata.xyz/sendxmpp
pull: true
settings:
message: "frontpage built and deployed successfully"
username: "woodpecker@monotremata.xyz"
password:
from_secret: xmpp_password
recipient: "rilla@monotremata.xyz"