1
0
Fork 0

Added Woodpecker file

This commit is contained in:
F. Y. H. 2025-02-19 01:27:09 +01:00
parent a24eb6019e
commit 706a88c528
Signed by: Alnotz
GPG key ID: BB5A7B6724BF531A

View file

@ -0,0 +1,16 @@
steps:
- name: Deployment
image: alpine:latest
commands:
- apk add openssh-client-default
- echo "$KEY" | tee .ssh/id_ed25519 >/dev/null
- ssh "$ADDRESS" "[ -d test ] || mkdir test"
- scp index.gmi "${ADDRESS}:test/index.html"
environment:
KEY:
from_secret: ssh_priv_key
ADDRESS:
from_secret: ssh_address
when:
event: tag
repo: Alnotz/alnotz.fr