woodpecker: solo correr CI cuando cambian cosas de JS
This commit is contained in:
parent
3fc9ac6745
commit
c3f39a093e
1 changed files with 8 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue