This commit is contained in:
parent
090bf122bd
commit
d39f1809e6
1 changed files with 9 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue