Do not run test workflow for merges to main branches.

We should not run a redundant testing workflow on merges to master or
staging.

This also includes a quick fix to configure the FLASK_ENV for the main
site.
This commit is contained in:
dandds
2019-11-22 12:53:14 -05:00
parent 9b59e803d1
commit 41bab4f594
2 changed files with 7 additions and 2 deletions

View File

@@ -285,7 +285,12 @@ workflows:
version: 2
run-tests:
jobs:
- docker-build-staging
- docker-build-staging:
filters:
branches:
ignore:
- staging
- master
- test:
requires:
- docker-build-staging