Skip to content

Commit

Permalink
ci: create a GitLab pipeline instead of triggering one
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed Oct 3, 2024
1 parent 1e4608f commit 413b54d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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..."xzz
curl --request POST \
--form token=${GITLAB_PIPELINE_TOKEN} \
--header "PRIVATE-TOKEN: ${GITLAB_PIPELINE_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}" \
Expand Down

0 comments on commit 413b54d

Please sign in to comment.