diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..4651954 --- /dev/null +++ b/.woodpecker.yml @@ -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