forked from BossHobby/QUICKSILVER
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
39 lines (38 loc) · 834 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: hanfer/docker-platformio
commands:
- bash script/build-tester.sh build
- bash script/build-tester.sh html
- name: publish-github
image: plugins/github-release
settings:
api_key:
from_secret: github_token
files: output/quicksilver*.hex
overwrite: true
when:
event:
- tag
- name: publish-hanfer
image: appleboy/drone-scp
settings:
host: hanfer.org
user: drone
password:
from_secret: ssh_password
source:
- output/index.html
- output/quicksilver*.hex
target: /mnt/hanfer/public/quicksilver/${DRONE_BRANCH}
strip_components: 1
when:
branch:
- develop
- feature-*
event:
- push