forked from cwtch.im/ui
drone needs git
This commit is contained in:
parent
afa6aa94c4
commit
f886a626b7
|
@ -69,6 +69,7 @@ pipeline:
|
||||||
event: push
|
event: push
|
||||||
status: [ success ]
|
status: [ success ]
|
||||||
commands:
|
commands:
|
||||||
|
- apk add --no-cache git
|
||||||
- echo $BUILDFILES_KEY > ~/id_rsab64
|
- echo $BUILDFILES_KEY > ~/id_rsab64
|
||||||
- base64 -d ~/id_rsab64 > ~/id_rsa
|
- base64 -d ~/id_rsab64 > ~/id_rsa
|
||||||
- chmod 400 ~/id_rsa
|
- chmod 400 ~/id_rsa
|
||||||
|
@ -76,7 +77,7 @@ pipeline:
|
||||||
- cd deploy
|
- cd deploy
|
||||||
- mkdir $DIR
|
- mkdir $DIR
|
||||||
- mv cwtch* $DIR/
|
- mv cwtch* $DIR/
|
||||||
- scp -o StrictHostKeyChecking=no -i ~/id_rsa $DIR buildfiles@openprivacy.ca:/home/buildfiles/buildfiles/
|
- scp -r -o StrictHostKeyChecking=no -i ~/id_rsa $DIR buildfiles@openprivacy.ca:/home/buildfiles/buildfiles/
|
||||||
notify-email:
|
notify-email:
|
||||||
image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
host: build.openprivacy.ca
|
host: build.openprivacy.ca
|
||||||
|
|
Loading…
Reference in New Issue