forked from vern/website
Fix woodpecker
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
39e97d1703
commit
ccc07fa15c
|
@ -3,7 +3,7 @@ pipeline:
|
|||
image: machines/ssh
|
||||
commands:
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$PRIVKEY $privkey" > ~/.ssh/id_rsa
|
||||
- echo "$PRIVKEY" > ~/.ssh/id_rsa
|
||||
- chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa
|
||||
- ssh websiteupdate@172.17.0.1 -i ~/.ssh/id_rsa "cd /websiteupdate/website && git reset --hard origin/master && git config pull.rebase true && git pull"
|
||||
secrets: [ privkey ]
|
||||
|
|
Loading…
Reference in New Issue