From d25515e6764aa40556c7b5d7490ee081ae5e55ca Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 29 May 2023 00:54:28 +0200 Subject: [PATCH] Build debug build on notif branch --- .cirrus.yml | 2 +- .gitlab-ci.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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: