Add or true so the check doesn't cause pipeline to faile

This commit is contained in:
Joseph Donofry 2023-02-19 21:13:21 -05:00
parent a2dbd2767b
commit 78fa9b97af

View file

@ -13,6 +13,6 @@ task:
- ditto -c -k --sequesterRsrc --keepParent build/nheko.app build/nheko.zip - ditto -c -k --sequesterRsrc --keepParent build/nheko.app build/nheko.zip
gitlab_script: gitlab_script:
- > - >
[ $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" [ "${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: binaries_artifacts:
path: build/nheko.zip path: build/nheko.zip