Añadir Woodpecker
This commit is contained in:
parent
c453a7f643
commit
4c0f4afd71
1 changed files with 20 additions and 0 deletions
20
.woodpecker.yml
Normal file
20
.woodpecker.yml
Normal 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
|
Loading…
Reference in a new issue