File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 22 build :
33 machine : true
44 steps :
5+ - run :
6+ command : ' [ -z "$PR_NUMBER" ] && circleci-agent step halt'
7+ name : " Check if PR_NUMBER exists"
58 - checkout
6- -
7- run :
8- command : " docker pull quay.io/openshift-cs/asciibinder:latest"
9- name : " Get AsciiBinder image"
109 -
1110 run :
1211 command : " chmod +x scripts/push_to_netlify.sh && ./scripts/push_to_netlify.sh"
1312 name : " Get PR branch"
13+ -
14+ run :
15+ command : " docker pull quay.io/openshift-cs/asciibinder:latest"
16+ name : " Get AsciiBinder image"
1417 -
1518 run :
1619 command : " git branch -m latest"
3942 run :
4043 command : " netlify deploy --site docspreview --auth $NETLIFY_AUTH_TOKEN --alias $PR_NUMBER --dir=_preview/"
4144 name : " Upload to Netlify"
45+ -
46+ run :
47+ command : " chmod +x scripts/ghcomment.sh && ./scripts/ghcomment.sh"
48+ name : " Add comment on PR"
4249
4350workflows :
4451 build_and_publish :
You can’t perform that action at this time.
0 commit comments