-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.drone.yml
35 lines (30 loc) · 979 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
workspace:
path: src/
pipeline:
build_figures:
image: brettbj/ehr-imputation:latest
commands:
- ls /drone/src
- Rscript ./plots/Figure_2.R
- Rscript ./plots/Figure_3.R
- Rscript ./plots/Figure_4.R
- Rscript ./plots/Figure_4_supplements.R
- Rscript ./plots/Figure_5.R
- Rscript ./plots/Figure_6.R
volumes:
- /data/imputation:/data
push_to_github:
image: brettbj/ehr-imputation:latest
secrets: [ git_publish_key ]
commands:
- git config user.email "[email protected]"
- git config user.name "Brett Beaulieu-Jones"
- git config --global push.default simple
- git remote set-url origin https://brettbj:[email protected]/epistasislab/imputation
- git add ./figures/*
- git commit -a -m "Commit from drone"
- git fetch
- git branch --set-upstream-to=origin/master master
- git pull -s recursive -X ours
- git push
branches: develop