Skip to content
Snippets Groups Projects
Commit e9b4b881 authored by picklesrus's avatar picklesrus
Browse files

Step toward GUI migration to circle. Have circle deploy to npm (via the...

Step toward GUI migration to circle. Have circle deploy to npm (via the circlelatest tag) and github pages.

Turning off github pages deploy in travis.
parent 6fdf2992
Branches
No related tags found
1 merge request!1Synching Fork
......@@ -186,22 +186,21 @@ workflows:
- store_dist:
requires:
- build
# Disable deployment while running in parallel with Travis
# - deploy-npm:
# requires:
# - lint
# - unit
# - integration
# - build
# filters:
# branches:
# only:
# - master
# - develop
# - /^hotfix\/.*/
# - deploy-gh-pages:
# requires:
# - lint
# - unit
# - integration
# - build
- deploy-npm:
requires:
- lint
- unit
- integration
- build
filters:
branches:
only:
- master
- develop
- /^hotfix\/.*/
- deploy-gh-pages:
requires:
- lint
- unit
- integration
- build
......@@ -51,13 +51,14 @@ deploy:
condition: $TRAVIS_EVENT_TYPE != cron
skip_cleanup: true
script: if npm info scratch-gui | grep -q $RELEASE_VERSION; then git tag $RELEASE_VERSION && git push https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git $RELEASE_VERSION; fi
- provider: script
on:
all_branches: true
condition: $TRAVIS_EVENT_TYPE != cron && ! $TRAVIS_BRANCH =~ ^dependabot/
tags: false # Don't push tags to gh-pages
skip_cleanup: true
script: npm run deploy -- -x -e $TRAVIS_BRANCH -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
# Disable deploy to gh-pages. Circle will do it instead.
# - provider: script
# on:
# all_branches: true
# condition: $TRAVIS_EVENT_TYPE != cron && ! $TRAVIS_BRANCH =~ ^dependabot/
# tags: false # Don't push tags to gh-pages
# skip_cleanup: true
# script: npm run deploy -- -x -e $TRAVIS_BRANCH -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
- provider: script
on:
branch: develop
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment