Skip to content
Snippets Groups Projects
Commit e372f267 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Insecure webhook call

parent bcaf96c7
Branches
No related tags found
No related merge requests found
...@@ -19,8 +19,7 @@ build: ...@@ -19,8 +19,7 @@ build:
- yarn generate - yarn generate
after_script: after_script:
- echo "{ \"name\":\"$SITE_NAME\" }" > request.json - echo "{ \"name\":\"$SITE_NAME\" }" > request.json
# - echo "{\"job_token\":\"$CI_JOB_TOKEN\", \"name\":\"$SITE_NAME\" }" > request.json - "curl -k -H 'Content-Type: application/json' -X POST -d @request.json $WEBHOOK_URL"
- "curl -H 'Content-Type: application/json' -X POST -d @request.json $WEBHOOK_URL"
artifacts: artifacts:
expire_in: 30 min expire_in: 30 min
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment