Setup drone ci

This commit is contained in:
simon987
2020-12-22 14:09:45 -05:00
parent 95bbe39afc
commit 30921ac52e
3 changed files with 30 additions and 73 deletions

24
.drone.yml Normal file
View File

@@ -0,0 +1,24 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: simon987/ubuntu_ci
commands:
- ./ci/build.sh
- name: scp files
image: appleboy/drone-scp
settings:
host:
from_secret: SSH_HOST
port:
from_secret: SSH_PORT
user:
from_secret: SSH_USER
key:
from_secret: SSH_KEY
target: /files/sist2/${DRONE_REPO_NAME}_${DRONE_BRANCH}_${DRONE_BUILD_NUMBER}/
source:
- ./sist2.gz
- ./sist2_debug.tar.gz