forked from ymotongpoo/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
32 lines (30 loc) · 904 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
build:
image: ymotongpoo/ergodox:v2.1
commands:
- env
- cd /home/ergodox
- git clone https://bitbucket.org/ymotongpoo/qmk_firmware.git
- cd /home/ergodox/qmk_firmware/keyboard/ergodox_ez
- make clean && make KEYMAP=default
- sudo mkdir -p /drone/src/bitbucket.org/ymotongpoo/qmk_firmware
- sudo mv ergodox_ez.hex /drone/src/bitbucket.org/ymotongpoo/qmk_firmware/ergodox_ez.hex
publish:
bintray:
username: $$BINTRAY_USERNAME
api_key: $$BINTRAY_APIKEY
branch: master
artifacts:
- file: ergodox_ez.hex
owner: ymotongpoo
type: ergodox
repository: ergodox
package: ergodox.hex
version: 1
target: ergodox.hex
publish: true
override: true
notify:
slack:
webhook_url: https://hooks.slack.com/services/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
channel: feed
username: drone