ci: remove wiki-sync step (incompatible with Woodpecker 0.15.4 secrets syntax)
This commit is contained in:
parent
cf41e0d0cb
commit
171bac86e5
@ -37,21 +37,3 @@ pipeline:
|
|||||||
commands:
|
commands:
|
||||||
- npm ci
|
- npm ci
|
||||||
- npm run test:run
|
- 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
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user