test macos drone deploy
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
2f1fe86d50
commit
2b2adb01e3
11
.drone.yml
11
.drone.yml
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: test-build-linux-android-windows
|
name: linux-android-windows-test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: fetch
|
- name: fetch
|
||||||
|
@ -162,15 +162,14 @@ steps:
|
||||||
environment:
|
environment:
|
||||||
BUILDFILES_KEY:
|
BUILDFILES_KEY:
|
||||||
from_secret: buildfiles_key
|
from_secret: buildfiles_key
|
||||||
secrets: [gogs_account_token]
|
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
status: [ success ]
|
status: [ success ]
|
||||||
commands:
|
commands:
|
||||||
- echo $BUILDFILES_KEY > ~/build.id_rsab64
|
- echo $BUILDFILES_KEY > ~/id_rsab64
|
||||||
- base64 -d ~/build.id_rsab64 > ~/build.id_rsa
|
- base64 -d ~/id_rsab64 > ~/id_rsa
|
||||||
- chmod 400 ~/build.id_rsa
|
- chmod 400 ~/id_rsa
|
||||||
- export DIR=libCwtch-go-macos-`cat BUILDDATE`-`cat VERSION`
|
- export DIR=libCwtch-go-macos-`cat BUILDDATE`-`cat VERSION`
|
||||||
- mkdir $DIR
|
- mkdir $DIR
|
||||||
- mv libCwtch.dylib $DIR/
|
- mv libCwtch.dylib $DIR/
|
||||||
|
@ -178,7 +177,7 @@ steps:
|
||||||
- find . -type f -exec shasum -a 512 {} \; > ./../sha512s.txt
|
- find . -type f -exec shasum -a 512 {} \; > ./../sha512s.txt
|
||||||
- mv ./../sha512s.txt .
|
- mv ./../sha512s.txt .
|
||||||
- cd ..
|
- cd ..
|
||||||
- scp -r -o StrictHostKeyChecking=no -i ~/build.id_rsa $DIR buildfiles@build.openprivacy.ca:/home/buildfiles/buildfiles/
|
- scp -r -o StrictHostKeyChecking=no -i ~/id_rsa $DIR buildfiles@build.openprivacy.ca:/home/buildfiles/buildfiles/
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
repo: cwtch.im/libcwtch-go
|
repo: cwtch.im/libcwtch-go
|
||||||
|
|
Reference in New Issue