mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-17 22:29:19 +00:00
Fix Woodpecker config (19)
This commit is contained in:
parent
0d0ef3f648
commit
b631bb1e66
|
@ -30,11 +30,11 @@ pipeline:
|
|||
# deploy changes
|
||||
- git add -A
|
||||
- git commit -m "Woodpecker build ${CI_COMMIT_SHA}"
|
||||
- printf '%s\n' "$${SSH_KEY}" > ./key
|
||||
- chmod 600 ./key
|
||||
#- ssh-keygen -l -f ./key
|
||||
- printf '%s\n' "$${SSH_KEY}" > key
|
||||
- chmod 600 key
|
||||
#- ssh-keygen -l -f key
|
||||
- git remote set-url origin git@codeberg.org:fediverse/fediparty.git
|
||||
- GIT_SSH_COMMAND='ssh -vvv -i .././key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git push --force origin pages
|
||||
- GIT_SSH_COMMAND='ssh -vvv -i ./key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git push --force origin pages
|
||||
when:
|
||||
# Only try to commit if previous step is successful
|
||||
status: success
|
||||
|
|
Loading…
Reference in a new issue