From 4c0f4afd71d4e2b0dc0f8a2af0a43546c2401444 Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 17 Sep 2021 16:45:51 -0300 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20Woodpecker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .woodpecker.yml 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