Añadir Woodpecker

This commit is contained in:
Cat /dev/Nulo 2021-09-17 16:45:51 -03:00
parent c453a7f643
commit 4c0f4afd71

20
.woodpecker.yml Normal file
View file

@ -0,0 +1,20 @@
pipeline:
deploy:
image: registry.nulo.in/sutty/haini.sh:latest
commands:
- rm assets/js/*
- make yarn hain="sh -c"
- make webpack hain="sh -c"
- mkdir ~/.ssh/
- echo $${GIT_SSH_KEY} > ~/.ssh/id_ed25519
- git config user.name Woodpecker
- git config user.email ci@nulo.in
- git add assets/js/* _data/assets.json
- git commit -m "Recompilar JS"
- git remote add nulo ssh://_gitea@nulo.in:420/Sutty/sutty-base-jekyll-theme.git
- git push nulo ${DRONE_BRANCH}
secrets:
- ssh_key
when:
event: push
branch: webpack-ci