From 8f490945b7e677936f4fa165e5861dce76fe51d0 Mon Sep 17 00:00:00 2001 From: Ruthenic Date: Sat, 17 Sep 2022 15:46:40 -0400 Subject: [PATCH] idek anymore but i rewrote deploying so hopefully --- .woodpecker.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 55cd69d..81fe472 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,14 +9,16 @@ pipeline: when: event: [ pull_request, push ] publish: - image: alpine + image: bitnami/git secrets: [ ssh_key ] commands: - - apk add --no-cache git openssh >/dev/null - mkdir ~/.ssh - echo $ssh_key > ~/.ssh/id_ed25519 - ssh-add ~/.ssh/id_ed25519 - git config user.name "Woodpecker" - git config user.email "no-reply@mail.ruthenic.com" + - git clone ssh://git@git.ruthenic.com:2200/Demon/demoncord-builds.git /tmp/demoncord-builds + - mv dist/build.js /tmp/demoncord-builds + - cd /tmp/demoncord-builds - git commit -am "Update build" - git push