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