woodpecker: chmod 600 deploy key
ci/woodpecker/push/woodpecker Pipeline was successful Details

main
Ariadne Conill 2022-08-02 18:21:54 -05:00
parent 43261d8d1e
commit eaa89c6db5
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ pipeline:
mkdir $HOME/.ssh mkdir $HOME/.ssh
echo "$SSH_KEY">$HOME/.ssh/id_ed25519 echo "$SSH_KEY">$HOME/.ssh/id_ed25519
echo "$SSH_KNOWN_HOSTS">$HOME/.ssh/known_hosts echo "$SSH_KNOWN_HOSTS">$HOME/.ssh/known_hosts
chown 600 $HOME/.ssh/id_ed25519
- apk add hugo rsync openssh-client - apk add hugo rsync openssh-client
- hugo - hugo
- rsync -avzHAX public/ kaniini@ariadne.space:public/ - rsync -avzHAX public/ kaniini@ariadne.space:public/