Source files for our blog
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blog/.woodpecker.yml

9 lines
432 B

pipeline:
master:
image: machines/ssh
commands:
- mkdir -p ~/.ssh
- echo "$PRIVKEY $privkey" > ~/.ssh/id_rsa
- chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa
- ssh websiteupdate@172.17.0.1 -i ~/.ssh/id_rsa "cd /websiteupdate/blog && git reset --hard origin/master && git config pull.rebase true && git pull && nix-shell -p gnumake -p pandoc -p libxslt -p htmlq --run make"
secrets: [ privkey ]