Fix Woodpecker config (18)

This commit is contained in:
lostinlight 2022-01-22 15:54:46 +03:00
parent e1a5abb202
commit 0d0ef3f648

View file

@ -32,7 +32,7 @@ pipeline:
- 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: