diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1cd4dd97d00a273bdcf0969cb090265aa26a699..442bd6b85fdb0b6dd59cf2705efc3807fdb165ea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -282,13 +282,19 @@ Trigger nshmp-haz-ws CDK: fi - | curl --request POST \ - --form token=${NSHMP_HAZ_WS_CDK_TRIGGER_TOKEN} \ + --form token=${NSHMP_CDK_TRIGGER_TOKEN} \ --form ref=${REF} \ --form "variables[description]=Triggered by nshmp-haz" \ --form "variables[ENVIRONMENT]=${ENVIRONMENT}" \ --form "variables[NSHMP_HAZ_WS_IMAGE]=${NSHMP_HAZ_WS_IMAGE}" \ - --form "variables[TRIGGER_PASSCODE]=${NSHMP_HAZ_WS_CDK_TRIGGER_TOKEN}" \ - "https://${PRIVATE_GITLAB}/api/v4/projects/${NSHMP_HAZ_WS_CDK_PROJECT_ID}/trigger/pipeline" + "https://${PRIVATE_GITLAB}/api/v4/projects/${NSHMP_CDK_PROJECT_ID}/trigger/pipeline" + - | + curl --request POST \ + --form token=${NSHMP_CDK_CORE_TRIGGER_TOKEN} \ + --form ref=${REF} \ + --form "variables[description]=Triggered by nshmp-haz" \ + --form "variables[ENVIRONMENT]=${ENVIRONMENT}" \ + "https://${PRIVATE_GITLAB}/api/v4/projects/${NSHMP_CDK_CORE_PROJECT_ID}/trigger/pipeline" stage: trigger variables: REF: main