Fix Woodpecker config (19)

This commit is contained in:
lostinlight 2022-01-22 15:57:47 +03:00
parent 0d0ef3f648
commit b631bb1e66

View file

@ -30,11 +30,11 @@ pipeline:
# deploy changes # deploy changes
- git add -A - git add -A
- git commit -m "Woodpecker build ${CI_COMMIT_SHA}" - git commit -m "Woodpecker build ${CI_COMMIT_SHA}"
- printf '%s\n' "$${SSH_KEY}" > ./key - printf '%s\n' "$${SSH_KEY}" > key
- chmod 600 ./key - chmod 600 key
#- ssh-keygen -l -f ./key #- ssh-keygen -l -f key
- git remote set-url origin git@codeberg.org:fediverse/fediparty.git - 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: when:
# Only try to commit if previous step is successful # Only try to commit if previous step is successful
status: success status: success