Manual task for trigger

This commit is contained in:
2023-10-31 09:28:56 +03:00
parent e1379ff0d9
commit 730d54a1da
+19
View File
@@ -126,3 +126,22 @@ notifyMessengerSuccess:
script:
- chmod +x ./toolchain/notification.sh
- ./toolchain/notification.sh SUCCESS
ManualUpdateApplications:
rules:
- if: $CI_COMMIT_REF_NAME == "develop"
when: manual
allow_failure: false
- if: $CI_COMMIT_TAG != null
when: manual
allow_failure: false
tags:
- macos
- flutter
stage: notify
script:
- |
curl -X "POST" "https://gitlab.nut.team/api/v4/projects/574/trigger/pipeline" \
-H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
--data-urlencode "token=$K8S_TOKEN_UPDATE_CONFRONTARE_APPLICATION" \
--data-urlencode "ref=develop"