Separate pull and build in woodpecker conf
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
e2cccaaf56
commit
6024a23f80
|
@ -5,5 +5,13 @@ steps:
|
|||
- mkdir -p ~/.ssh
|
||||
- echo "$PRIVKEY" > ~/.ssh/id_ed25519
|
||||
- chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_ed25519
|
||||
- ssh websiteupdate@172.17.0.1 -i ~/.ssh/id_ed25519 "cd /websiteupdate/wiki && git reset --hard origin/master && git config pull.rebase true && git pull && nix-shell -p gnumake -p pandoc --run make"
|
||||
- ssh websiteupdate@172.17.0.1 -i ~/.ssh/id_ed25519 "cd /websiteupdate/wiki && git reset --hard origin/master && git config pull.rebase true && git pull"
|
||||
secrets: [ privkey ]
|
||||
build:
|
||||
image: machines/ssh
|
||||
commands:
|
||||
- mkdir -p
|
||||
- echo "$PRIVKEY" > ~/.ssh/id_ed25519
|
||||
- chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_ed25519
|
||||
- ssh websiteupdate@172.17.0.1 -i ~/.ssh/id_ed25519 "nix-shell -p gnumake -p pandoc --run make"
|
||||
secrets: [ privkey ]
|
||||
|
|
Loading…
Reference in New Issue