Merge pull request #1189 from dannyrb/ci/complete-promoted-deploy
Ci/complete promoted deploy
This commit is contained in:
commit
fb0cd9355f
@ -62,7 +62,7 @@ echo "Done generating documentation output"
|
|||||||
echo 'STARTING PUBLISH'
|
echo 'STARTING PUBLISH'
|
||||||
|
|
||||||
# WILL ALWAYS FAIL IF INITIATED FROM PR BRANCH
|
# WILL ALWAYS FAIL IF INITIATED FROM PR BRANCH
|
||||||
./node_modules/.bin/gh-pages \
|
npx gh-pages \
|
||||||
--silent \
|
--silent \
|
||||||
--repo https://$GITHUB_TOKEN@github.com/OHIF/Viewers.git \
|
--repo https://$GITHUB_TOKEN@github.com/OHIF/Viewers.git \
|
||||||
--message 'Autogenerated Message: [ci skip]' \
|
--message 'Autogenerated Message: [ci skip]' \
|
||||||
|
|||||||
@ -18,7 +18,7 @@ executors:
|
|||||||
# Custom executor to override Cypress config
|
# Custom executor to override Cypress config
|
||||||
deploy-to-prod-executor:
|
deploy-to-prod-executor:
|
||||||
docker:
|
docker:
|
||||||
- image: 'cypress/browsers:chrome76'
|
- image: 'cypress/browsers:node10.16.0-chrome77'
|
||||||
environment:
|
environment:
|
||||||
CYPRESS_BASE_URL: https://ohif-staging.netlify.com/
|
CYPRESS_BASE_URL: https://ohif-staging.netlify.com/
|
||||||
|
|
||||||
@ -284,7 +284,8 @@ jobs:
|
|||||||
name: Build and push Docker image
|
name: Build and push Docker image
|
||||||
command: |
|
command: |
|
||||||
# This file will exist if a new version was published by
|
# This file will exist if a new version was published by
|
||||||
# our `semantic-release` command in the previous job
|
# our command in the previous job. Created in npm postpublish hook
|
||||||
|
# in the `platform/viewer` project.
|
||||||
if [[ ! -e platform/viewer/success_version.txt ]]; then
|
if [[ ! -e platform/viewer/success_version.txt ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user