Skip to content

Commit

Permalink
Do not run relase-images on forked prs (#366)
Browse files Browse the repository at this point in the history
* Do not run relase-images on forked prs

* Remove deploy script and modify ci release filters to run only on master and channel branches
  • Loading branch information
f-moya authored Aug 20, 2021
1 parent 84cc33a commit 7af5f61
Showing 2 changed files with 4 additions and 16 deletions.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:
- setup_remote_docker:
docker_layer_caching: true
- run: docker login -u _json_key -p "$GCR_JSON_KEY" us.gcr.io
- run: bin/deploy
- run: make release RELEASE_TAG="b$CIRCLE_BUILD_NUM"

workflows:
version: 2
@@ -29,6 +29,9 @@ workflows:
- release_images:
requires:
- build_and_test
filters:
branches:
only: /master|channel\/[\w-]+/
notify:
webhooks:
- url: https://cc-slack-proxy.herokuapp.com/circle
15 changes: 0 additions & 15 deletions bin/deploy

This file was deleted.

0 comments on commit 7af5f61

Please sign in to comment.