From 1d184e65165c4cc02299707c1acc6d86ec6e4b88 Mon Sep 17 00:00:00 2001 From: lostinlight Date: Sat, 22 Jan 2022 16:48:57 +0300 Subject: [PATCH] Finalize Woodpecker config --- .woodpecker.yml | 18 ------------------ 1 file changed, 18 deletions(-) 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: