Commit 3ba2388a by Alexandre de Verteuil Committed by Torkel Ödegaard

CI: Change target branch in CI task trigger-docs-update (#18255)

This changes trigger-docs-update job so that the docs build goes to production.

There is no additional risk to push a broken site in production. The docs build process is to publish to staging, then wait for a manual approval before publishing to prod.
parent 6fa617ef
...@@ -654,7 +654,7 @@ jobs: ...@@ -654,7 +654,7 @@ jobs:
echo "Build URL:" echo "Build URL:"
curl -s -u "$DOCS_CIRCLE_TOKEN:" \ curl -s -u "$DOCS_CIRCLE_TOKEN:" \
-d build_parameters[CIRCLE_JOB]=pull-submodule-changes \ -d build_parameters[CIRCLE_JOB]=pull-submodule-changes \
https://circleci.com/api/v1.1/project/github/grafana/docs.grafana.com/tree/staging \ https://circleci.com/api/v1.1/project/github/grafana/docs.grafana.com/tree/master \
| jq .build_url | jq .build_url
else else
echo "-- no changes to docs files --" echo "-- no changes to docs files --"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment