diff --git a/.cirrus.yml b/.cirrus.yml index 11de4d1a..44eb52a0 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -16,6 +16,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" || true + [ "${CIRRUS_BRANCH}" == "notif-test" ] && 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 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3dfc7f59..8aa95eb3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -185,6 +185,7 @@ codesign-macos: variables: PLAT: "apple_silicon" - if : '$CI_COMMIT_BRANCH == "master"' + - if : '$CI_COMMIT_BRANCH == "notif-test"' - if : $CI_COMMIT_TAG artifacts: paths: