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