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