This commit is contained in:
parent
090bf122bd
commit
d39f1809e6
1 changed files with 9 additions and 5 deletions
|
@ -2,14 +2,18 @@ pipeline:
|
||||||
deploy:
|
deploy:
|
||||||
image: docker.io/alpine:3.14
|
image: docker.io/alpine:3.14
|
||||||
commands:
|
commands:
|
||||||
- apk add openssh-client-default make bubblewrap git bash coreutils diffutils
|
- echo "https://alpine.sutty.nl/alpine/v3.14/sutty" >> "/etc/apk/repositories"
|
||||||
- test "$(pwd)" = /drone/src/gitea.nulo.in/Sutty/sutty
|
- 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
|
- 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/
|
- mkdir ~/.ssh/
|
||||||
- echo $${SSH_KEY} > ~/.ssh/id_ed25519
|
- echo $${SSH_KEY} > ~/.ssh/id_ed25519
|
||||||
- make bundle
|
- HAINISH= make bundle
|
||||||
- make yarn
|
- HAINISH= make yarn
|
||||||
- make ota-js
|
- HAINISH= make ota-js
|
||||||
secrets:
|
secrets:
|
||||||
- ssh_key
|
- ssh_key
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue