woodpecker: solo correr CI cuando cambian cosas de JS

This commit is contained in:
Cat /dev/Nulo 2021-09-18 15:05:06 -03:00
parent 3fc9ac6745
commit c3f39a093e

View file

@ -5,9 +5,7 @@ pipeline:
- rm assets/js/*
- make yarn hainish="sh -c"
- make webpack hainish="sh -c"
commit:
image: registry.nulo.in/sutty/haini.sh:latest
commands:
- mkdir ~/.ssh/
- eval $(ssh-agent -s)
- echo "$${GIT_BASE64_SSH_KEY}" | base64 -d | ssh-add -
@ -23,3 +21,10 @@ pipeline:
- git push -u nulo ${DRONE_BRANCH}
secrets:
- git_base64_ssh_key
when:
path:
include:
- _packs/*
- package.json
- yarn.lock
- webpack.*.js