diff --git a/.woodpecker.yml b/.woodpecker.yml index a9ac670..b5ee2d5 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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