diff --git a/.woodpecker.yml b/.woodpecker.yml index 42c32b9..ed4f5d0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,22 +1,5 @@ pipeline: - key_check: - image: debian:testing-slim - secrets: [ ssh_key ] - commands: - - apt-get update - - apt-get -y -qq install --no-install-recommends ssh-client - - printf '%s\n' "$${SSH_KEY}" > key - - chmod 600 key - - wc -c key - - sha256sum key - - ssh-keygen -l -f key - - ssh -vvvi key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no git@codeberg.org - when: - branch: - include: [ main ] - event: [push, deployment] - # Build step: generates the files for Hexo site build: image: node:12.22.1 @@ -49,7 +32,6 @@ pipeline: - git commit -m "Woodpecker build ${CI_COMMIT_SHA}" - 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 when: