ci: usar ssh_key en vez de git_base64_ssh_key
All checks were successful
continuous-integration/woodpecker the build was successful
All checks were successful
continuous-integration/woodpecker the build was successful
This commit is contained in:
parent
d44c000e65
commit
3099f5c190
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ pipeline:
|
||||||
- make webpack hainish="sh -c"
|
- make webpack hainish="sh -c"
|
||||||
|
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo "$${GIT_BASE64_SSH_KEY}" | base64 -d | ssh-add -
|
- echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
|
||||||
|
|
||||||
- git config user.name Woodpecker
|
- git config user.name Woodpecker
|
||||||
- git config user.email ci@nulo.in
|
- git config user.email ci@nulo.in
|
||||||
|
@ -16,7 +16,7 @@ pipeline:
|
||||||
- git status
|
- 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
|
- ssh_key
|
||||||
when:
|
when:
|
||||||
path:
|
path:
|
||||||
include:
|
include:
|
||||||
|
|
Loading…
Reference in a new issue