Update .woodpecker/build-dev.yaml
All checks were successful
ci/woodpecker/push/build-dev Pipeline was successful
All checks were successful
ci/woodpecker/push/build-dev Pipeline was successful
This commit is contained in:
@@ -4,11 +4,19 @@ when:
|
|||||||
steps:
|
steps:
|
||||||
update_submodule:
|
update_submodule:
|
||||||
image: woodpeckerci/plugin-git
|
image: woodpeckerci/plugin-git
|
||||||
|
secrets:
|
||||||
|
- source: gitea_token
|
||||||
|
target: GITEA_TOKEN
|
||||||
|
- source: gitea_user
|
||||||
|
target: GITEA_USER
|
||||||
commands:
|
commands:
|
||||||
- git status
|
|
||||||
- git submodule update --remote
|
- git submodule update --remote
|
||||||
- git status
|
- if [ ! "$(git status --porcelain)" ]; then echo "no changes"; exit 0; fi
|
||||||
- git diff
|
- git config user.name "$${GITEA_USER}"
|
||||||
|
- git config user.email "$${GITEA_USER}.gitea@narvas.tech"
|
||||||
|
- git add -A
|
||||||
|
- git commit -m "update submodules [skip ci]"
|
||||||
|
- git push "https://$${GITEA_USER}:$${GITEA_TOKEN}@git.narvas.tech/$${CI_REPO}"
|
||||||
check_base:
|
check_base:
|
||||||
image: vistanarvas/container-update-checker:latest
|
image: vistanarvas/container-update-checker:latest
|
||||||
secrets:
|
secrets:
|
||||||
|
|||||||
Reference in New Issue
Block a user