sutty-base-jekyll-theme/.woodpecker.yml
Nulo 3099f5c190
All checks were successful
continuous-integration/woodpecker the build was successful
ci: usar ssh_key en vez de git_base64_ssh_key
2021-11-25 22:18:52 +00:00

27 lines
927 B
YAML

pipeline:
build:
image: registry.nulo.in/sutty/haini.sh@sha256:b4248b19f94e60ed165a104094cb5852fca536767481a282b3eb869358a1ab0c
commands:
- git branch
- git rm -f assets/js/*
- make yarn hainish="sh -c"
- make webpack hainish="sh -c"
- eval $(ssh-agent -s)
- echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
- git config user.name Woodpecker
- git config user.email ci@nulo.in
- 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} )
secrets:
- ssh_key
when:
path:
include:
- _packs/*
- package.json
- yarn.lock
- webpack.*.js
- .woodpecker.yml