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