diff --git a/.circleci/config.yml b/.circleci/config.yml index bed3adadd..ddfc25bec 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -134,7 +134,7 @@ jobs: # <<: *integration_tap workflows: - build-staging-production: # build-test-deploy + build-test-deploy: jobs: - build-staging: context: @@ -154,42 +154,39 @@ workflows: branches: only: - master - # - deploy-staging: - # context: - # - scratch-www-all - # - scratch-www-staging - # requires: - # - build-staging - # filters: - # branches: - # only: - # - develop - # - /^hotfix\/.*/ - # - /^release\/.*/ - # - circleCI-configure-tests - # - integration-staging-jest: - # context: - # - scratch-www-all - # - scratch-www-staging - # requires: - # - deploy-staging - # filters: - # branches: - # only: - # - develop - # - /^hotfix\/.*/ - # - /^release\/.*/ - # - circleCI-configure-tests - # - integration-staging-tap: - # context: - # - scratch-www-all - # - scratch-www-staging - # requires: - # - deploy-staging - # filters: - # branches: - # only: - # - develop - # - /^hotfix\/.*/ - # - /^release\/.*/ - # - circleCI-configure-tests + - deploy-staging: + context: + - scratch-www-all + - scratch-www-staging + requires: + - build-staging + filters: + branches: + only: + - develop + - /^hotfix\/.*/ + - /^release\/.*/ + - integration-staging-jest: + context: + - scratch-www-all + - scratch-www-staging + requires: + - deploy-staging + filters: + branches: + only: + - develop + - /^hotfix\/.*/ + - /^release\/.*/ + - integration-staging-tap: + context: + - scratch-www-all + - scratch-www-staging + requires: + - deploy-staging + filters: + branches: + only: + - develop + - /^hotfix\/.*/ + - /^release\/.*/ diff --git a/.travis.yml b/.travis.yml index 57ebce798..8cfbb4e82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -114,15 +114,6 @@ jobs: include: - stage: test deploy: - - provider: script - skip_cleanup: $SKIP_CLEANUP - script: npm run deploy - on: - repo: LLK/scratch-www - branch: - - develop - - hotfix/* - - release/* - provider: script skip_cleanup: $SKIP_CLEANUP script: npm run deploy @@ -138,6 +129,6 @@ stages: - name: test if: type != cron - name: smoke - if: type NOT IN (cron, pull_request) AND (branch =~ /^(develop|master|release\/|hotfix\/)/) + if: type NOT IN (cron, pull_request) AND (branch =~ /^(master)/) - name: update translations if: branch == develop AND type == cron