34 lines
799 B
YAML
34 lines
799 B
YAML
platform: linux/arm64
|
|
|
|
pipeline:
|
|
build:
|
|
image: registry.monotremata.xyz/static-page-builder
|
|
pull: true
|
|
commands:
|
|
- make www
|
|
- make onion
|
|
|
|
publish:
|
|
image: registry.monotremata.xyz/rsync
|
|
pull: true
|
|
settings:
|
|
host: caladan
|
|
user: woodpecker
|
|
key:
|
|
from_secret: ssh_key
|
|
known_hosts:
|
|
from_secret: known_hosts
|
|
sources: ["html/www", "html/onion"]
|
|
target: /srv/sites/frontpage
|
|
args: --recursive --human-readable --verbose --delete
|
|
|
|
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"
|