mirror of
https://github.com/sist2app/sist2.git
synced 2026-03-29 03:21:37 +00:00
Setup drone ci
This commit is contained in:
24
.drone.yml
Normal file
24
.drone.yml
Normal 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
|
||||
Reference in New Issue
Block a user