Skip to content

Commit

Permalink
Merge pull request pi-hole#773 from pi-hole/fix/circleci_prevent_fore…
Browse files Browse the repository at this point in the history
…ign_uploads

Skip CircleCI Upload step on PRs coming from forks
  • Loading branch information
DL6ER authored May 24, 2020
2 parents 83bc457 + b16343c commit 3e258bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ version: 2
- run:
name: "Upload"
command: |
[[ "$CIRCLE_PROJECT_REPONAME" == "FTL" && "$CIRCLE_PROJECT_USERNAME" == "pi-hole" ]] || exit 0
[ -z "${CIRCLE_PR_USERNAME}" ] || exit 0
DIR="${CIRCLE_TAG:-${CIRCLE_BRANCH}}"
mv pihole-FTL "${BIN_NAME}"
sha1sum pihole-FTL-* > ${BIN_NAME}.sha1
Expand Down

0 comments on commit 3e258bb

Please sign in to comment.