drone needs git

This commit is contained in:
Dan Ballard 2019-03-04 13:09:18 -08:00
parent afa6aa94c4
commit f886a626b7
1 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@ pipeline:
event: push
status: [ success ]
commands:
- apk add --no-cache git
- echo $BUILDFILES_KEY > ~/id_rsab64
- base64 -d ~/id_rsab64 > ~/id_rsa
- chmod 400 ~/id_rsa
@ -76,7 +77,7 @@ pipeline:
- cd deploy
- mkdir $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:
image: drillster/drone-email
host: build.openprivacy.ca