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:
|
||||
update_submodule:
|
||||
image: woodpeckerci/plugin-git
|
||||
secrets:
|
||||
- source: gitea_token
|
||||
target: GITEA_TOKEN
|
||||
- source: gitea_user
|
||||
target: GITEA_USER
|
||||
commands:
|
||||
- git status
|
||||
- git submodule update --remote
|
||||
- git status
|
||||
- git diff
|
||||
- if [ ! "$(git status --porcelain)" ]; then echo "no changes"; exit 0; fi
|
||||
- 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:
|
||||
image: vistanarvas/container-update-checker:latest
|
||||
secrets:
|
||||
@@ -34,4 +42,4 @@ steps:
|
||||
path:
|
||||
include: [ '.woodpecker/build-dev.yaml', 'build/*', 'Dockerfile' ]
|
||||
cron: nightly
|
||||
event: [push, cron, manual]
|
||||
event: [push, cron, manual]
|
||||
Reference in New Issue
Block a user