summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoe Donofry <rubberduckie3554@gmail.com>2023-02-20 04:05:41 +0000
committerJoe Donofry <rubberduckie3554@gmail.com>2023-02-20 04:05:41 +0000
commit8394bfe0f726421e047fcd0277a2b31762fe16ca (patch)
treeeff984211027dd9019ac23c2f6fbcaaeccca0a66
parentFix typo in tag (diff)
downloadnheko-8394bfe0f726421e047fcd0277a2b31762fe16ca.tar.xz
Cirrus updates
-rw-r--r--.cirrus.yml10
1 files changed, 2 insertions, 8 deletions
diff --git a/.cirrus.yml b/.cirrus.yml

index 2658b4b3..2cb5426d 100644 --- a/.cirrus.yml +++ b/.cirrus.yml
@@ -2,7 +2,6 @@ task: macos_instance: image: ghcr.io/cirruslabs/macos-monterey-xcode:13 name: Build - macOS Apple Silicon - only_if: $CIRRUS_REPO_OWNER == 'Nheko-Reborn' environment: GITLAB_TRIGGER_TOKEN: ENCRYPTED[!5fb4bbdecbde3b2c766ac7383dca573cd5ec8b815c5ac9bede0cadfe9ad70ecd3e64b1728f7840da087099f3fc1fd4f7!] homebrew_script: @@ -13,12 +12,7 @@ task: zip_script: - ditto -c -k --sequesterRsrc --keepParent build/nheko.app build/nheko.zip gitlab_script: - - curl -X POST - --fail - -F token="${GITLAB_TRIGGER_TOKEN}" - -F ref="${CIRRUS_BRANCH}" - -F "variables[TRIGGER_BUILD_ID]=${CIRRUS_BUILD_ID}" - -F "variables[TRIGGERED_BY]=cirrus" - "https://nheko.im/api/v4/projects/2/trigger/pipeline" + - > + [ "${CIRRUS_BRANCH}" == "master" ] && curl -X POST --fail -F token="${GITLAB_TRIGGER_TOKEN}" -F ref="${CIRRUS_BRANCH}" -F "variables[TRIGGER_BUILD_ID]=${CIRRUS_BUILD_ID}" -F "variables[TRIGGERED_BY]=cirrus" "https://nheko.im/api/v4/projects/2/trigger/pipeline" || true binaries_artifacts: path: build/nheko.zip \ No newline at end of file