Commit 5fd266df authored by Tobias Schmidt's avatar Tobias Schmidt

Add template to redirect people to docs repo for changes

Hopefully this will help people to not create PRs against the generated
repo.
parent fd1dc7b8
......@@ -22,12 +22,14 @@ downloads/%/releases.json:
github_pages_export: compile
cd output && \
echo prometheus.io > CNAME && \
git init && \
git config user.name "Travis CI" && \
git config user.email "travis@prometheus.io" && \
git add . && \
git commit --message="Static site builder output"
mkdir -p .github && \
echo "This repository is auto-generated. You have to open pull requests against https://github.com/prometheus/docs instead." > .github/PULL_REQUEST_TEMPLATE.md && \
echo prometheus.io > CNAME && \
git init && \
git config user.name "Travis CI" && \
git config user.email "travis@prometheus.io" && \
git add . && \
git commit --message="Static site builder output"
github_pages_push:
cd output && \
......
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