diff --git a/.circleci/config.yml b/.circleci/config.yml index c185c51..a69a645 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -46,10 +46,6 @@ jobs: name: Build command: yarn build - - run: - name: Remove Mock Media Files - command: rm -rf build/music - - run: name: Compress Build Artifacts command: tar czvf forte-web.tar.gz -C build . @@ -114,6 +110,14 @@ workflows: requires: - test + filters: + # Disable on PR builds. Pull Request builds have branch names of + # pull/. If this changes, our builds will fail + # (without leaking our secrets) since secrets aren't exposed to PR + # builds. + branches: + only: /^(?!pull\/).*$/ + - deploy_surge: requires: - test