diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 5f8aaefa..0c48d739 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -37,21 +37,3 @@ pipeline: commands: - npm ci - npm run test:run - - wiki-sync: - image: alpine/git - secrets: - - GOGS_TOKEN - when: - branch: master - event: push - commands: - - git config --global user.email "ci@tftsr.com" - - git config --global user.name "TFTSR CI" - - git clone "https://${GOGS_TOKEN}@gogs.tftsr.com/sarman/tftsr-devops_investigation.wiki.git" /tmp/wiki - - cp docs/wiki/*.md /tmp/wiki/ - - cd /tmp/wiki - - git add -A - - git diff --cached --quiet && echo "Wiki up to date, nothing to push." && exit 0 - - git commit -m "docs: sync wiki from ${CI_COMMIT_SHA} on ${CI_COMMIT_BRANCH}" - - git push