Merge branch 'zj-docs-on-pipeline-schedules' into 'master'
Remove trigger docs job See merge request !11574
This commit is contained in:
commit
8f2af757d3
1 changed files with 0 additions and 19 deletions
|
@ -487,25 +487,6 @@ lint:javascript:report:
|
|||
paths:
|
||||
- eslint-report.html
|
||||
|
||||
# Trigger docs build
|
||||
# https://gitlab.com/gitlab-com/doc-gitlab-com/blob/master/README.md#deployment-process
|
||||
trigger_docs:
|
||||
stage: post-test
|
||||
image: "alpine"
|
||||
<<: *dedicated-runner
|
||||
before_script:
|
||||
- apk update && apk add curl
|
||||
variables:
|
||||
GIT_STRATEGY: "none"
|
||||
cache: {}
|
||||
artifacts: {}
|
||||
script:
|
||||
- "HTTP_STATUS=$(curl -X POST -F token=${DOCS_TRIGGER_TOKEN} -F ref=master -F variables[PROJECT]=${CI_PROJECT_NAME} --silent --output curl.log --write-out '%{http_code}' https://gitlab.com/api/v3/projects/1794617/trigger/builds)"
|
||||
- if [ "${HTTP_STATUS}" -ne "201" ]; then echo "Error ${HTTP_STATUS}"; cat curl.log; echo; exit 1; fi
|
||||
only:
|
||||
- master@gitlab-org/gitlab-ce
|
||||
- master@gitlab-org/gitlab-ee
|
||||
|
||||
pages:
|
||||
before_script: []
|
||||
stage: pages
|
||||
|
|
Loading…
Reference in a new issue