woodpecker: add POSSE
ci/woodpecker/push/woodpecker Pipeline was successful Details

Ariadne Conill 2022-08-02 19:45:52 -05:00
parent 5a2e5595e2
commit 34f656d63a
1 changed files with 5 additions and 0 deletions

View File

@ -9,5 +9,10 @@ pipeline:
chown 600 $HOME/.ssh/id_ed25519
- apk add hugo rsync openssh-client go git curl
- hugo
- wget -O oldnewswire.txt https://ariadne.space/newswire.txt
- rsync -avzHAX public/ kaniini@ariadne.space:public/
- |
cmp oldnewswire.txt public/newswire.txt || \
curl -H 'Authorization: Bearer $MASTODON_SECRET' -F status=@public/newswire.txt \
https://social.treehouse.systems/api/v1/statuses
secrets: [SSH_KEY, SSH_KNOWN_HOSTS, MASTODON_SECRET]