mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Circle CI: skip uploading build artifacts on forks
Signed-off-by: Anton Bershanskiy <45960703+bershanskiy@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
cf2e3e594b
commit
260e1ea398
@@ -21,6 +21,7 @@ version: 2
|
||||
name: "Upload binary to binary bucket"
|
||||
command: |
|
||||
[ -z "${CIRCLE_PR_USERNAME}" ] || exit 0
|
||||
[ "${CIRCLE_PROJECT_USERNAME}" == "pi-hole" ] || exit 0
|
||||
DIR="${CIRCLE_TAG:-${CIRCLE_BRANCH}}"
|
||||
mkdir -p ~/.ssh/
|
||||
ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts
|
||||
@@ -30,6 +31,7 @@ version: 2
|
||||
name: "Verify uploaded binary"
|
||||
command: |
|
||||
[ -z "${CIRCLE_PR_USERNAME}" ] || exit 0
|
||||
[ "${CIRCLE_PROJECT_USERNAME}" == "pi-hole" ] || exit 0
|
||||
DIR="${CIRCLE_TAG:-${CIRCLE_BRANCH}}"
|
||||
mkdir download
|
||||
cd download
|
||||
|
||||
Reference in New Issue
Block a user