Skip to content

Commit

Permalink
Use CI_API_V4_URL instead of CI_SERVER_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasnatter committed Nov 11, 2020
1 parent 20c47b1 commit 2d7f84c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ prepare-deployemnt:
image: curlimages/curl:latest
script:
# trigger pipeline of deployment project: https://docs.gitlab.com/ee/ci/triggers/README.html#ci-job-token
- curl --request POST --form "token=$CI_JOB_TOKEN" --form "ref=master" "$CI_SERVER_URL/api/v4/projects/46/trigger/pipeline"
- curl --request POST --form "token=$CI_JOB_TOKEN" --form "ref=master" "$CI_API_V4_URL/projects/46/trigger/pipeline"
only:
- master

Expand Down

0 comments on commit 2d7f84c

Please sign in to comment.