diff --git a/.woodpecker.yml b/.woodpecker.yml index 4efa843..d7114ee 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,14 +2,18 @@ pipeline: deploy: image: docker.io/alpine:3.14 commands: - - apk add openssh-client-default make bubblewrap git bash coreutils diffutils - - test "$(pwd)" = /drone/src/gitea.nulo.in/Sutty/sutty + - echo "https://alpine.sutty.nl/alpine/v3.14/sutty" >> "/etc/apk/repositories" + - wget https://alpine.sutty.nl/alpine/sutty.pub -O "/etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub" + - apk add --no-cache openssh-client-default make git bash coreutils diffutils - git clone https://gitea.nulo.in/Sutty/haini.sh /drone/src/gitea.nulo.in/Sutty/haini.sh + - apk add --no-cache "$(cat "/drone/src.gitea.nulo.in/Sutty/haini.sh/packages" | tr "\n" " ")" + - sed -re "s/#(@platforms = )/\1/" -i "/usr/lib/ruby/2.7.0/rubygems.rb" + - install -m 640 "/drone/src.gitea.nulo.in/Sutty/haini.sh/.gemrc" "$HOME/.gemrc" - mkdir ~/.ssh/ - echo $${SSH_KEY} > ~/.ssh/id_ed25519 - - make bundle - - make yarn - - make ota-js + - HAINISH= make bundle + - HAINISH= make yarn + - HAINISH= make ota-js secrets: - ssh_key when: