woodpecker: add POSSE
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
5a2e5595e2
commit
928536cb7c
|
@ -0,0 +1,2 @@
|
||||||
|
public/
|
||||||
|
oldnewswire.txt
|
|
@ -9,5 +9,10 @@ pipeline:
|
||||||
chown 600 $HOME/.ssh/id_ed25519
|
chown 600 $HOME/.ssh/id_ed25519
|
||||||
- apk add hugo rsync openssh-client go git curl
|
- apk add hugo rsync openssh-client go git curl
|
||||||
- hugo
|
- hugo
|
||||||
|
- wget -O oldnewswire.txt https://ariadne.space/newswire.txt
|
||||||
- rsync -avzHAX public/ kaniini@ariadne.space:public/
|
- rsync -avzHAX public/ kaniini@ariadne.space:public/
|
||||||
|
- |
|
||||||
|
cmp oldnewswire.txt public/newswire.txt || \
|
||||||
|
curl -s -H "Authorization: Bearer $MASTODON_SECRET" -F "status=$(cat public/newswire.txt)" \
|
||||||
|
https://social.treehouse.systems/api/v1/statuses
|
||||||
secrets: [SSH_KEY, SSH_KNOWN_HOSTS, MASTODON_SECRET]
|
secrets: [SSH_KEY, SSH_KNOWN_HOSTS, MASTODON_SECRET]
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
{{- range first 1 (where .Site.RegularPages "Section" "blog") -}}
|
{{- range first 1 (where .Site.RegularPages "Section" "blog") -}}
|
||||||
{{ .Title }} - {{ .Permalink }}
|
{{ .Title }}
|
||||||
|
|
||||||
|
{{ .Permalink }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in New Issue