ci: poner un git status para entender porqué falla
Some checks failed
continuous-integration/drone the build failed

This commit is contained in:
Cat /dev/Nulo 2021-09-28 18:29:38 -03:00
parent 1669c66ad6
commit 8baceebff3

View file

@ -13,6 +13,7 @@ pipeline:
- git config user.name Woodpecker - git config user.name Woodpecker
- git config user.email ci@nulo.in - git config user.email ci@nulo.in
- git remote add nulo ssh://_gitea@nulo.in:420/Sutty/sutty-base-jekyll-theme.git - git remote add nulo ssh://_gitea@nulo.in:420/Sutty/sutty-base-jekyll-theme.git
- git status
- git diff-index --quiet HEAD --ignore-submodules || ( git add assets/js/pack* && git commit assets/js/ _data/assets.json -m "[skip ci] Recompilar JS" && git push -u nulo HEAD:${DRONE_BRANCH} ) - git diff-index --quiet HEAD --ignore-submodules || ( git add assets/js/pack* && git commit assets/js/ _data/assets.json -m "[skip ci] Recompilar JS" && git push -u nulo HEAD:${DRONE_BRANCH} )
secrets: secrets:
- git_base64_ssh_key - git_base64_ssh_key