diff --git a/.circleci/config.yml b/.circleci/config.yml index 735b8f4f..1104943e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -121,14 +121,14 @@ jobs: - attach_workspace: at: . - run: - name: Trigger GitLab CI pipeline to deploy + name: Create a GitLab CI pipeline for deploying command: | # https://docs.gitlab.com/ee/api/pipeline_triggers.html source .env_vars - echo "Triggering a new GitLab Pipeline to deploy Hydra version $VERSION on dev with tag light..." + echo "Create a GitLab CI pipeline for deploying Hydra version $VERSION on dev with tag light..." curl --request POST \ - --form token=${GITLAB_PIPELINE_TOKEN} \ + --header "PRIVATE-TOKEN: ${GITLAB_PRIVATE_TOKEN}" \ --form ref=main \ - --form "variables[SITE]=dev" \ + --form "variables[SITE]=dev.data.gouv.fr" \ --form "variables[APP]=hydra" \ --form "variables[TAGS]=light" \ --form "variables[PACKAGE_VERSION]=${VERSION}" \