Fix Woodpecker config (19)

This commit is contained in:
lostinlight 2022-01-22 15:57:47 +03:00
parent 0d0ef3f648
commit b631bb1e66
1 changed files with 4 additions and 4 deletions

View File

@ -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