This commit is contained in:
Skylar "The Cobra" Widulski 2022-10-24 13:40:16 -04:00
commit f5873f4f38
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 1 additions and 1 deletions

View File

@ -5,5 +5,5 @@ pipeline:
- mkdir -p ~/.ssh
- echo "$PRIVKEY $privkey" > ~/.ssh/id_rsa
- chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa
- ssh websiteupdate@172.19.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"
- 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 ]