forked from open-falcon/open-falcon.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
26 lines (20 loc) · 800 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
clean:
rm -rf output downloads
#compile: clean downloads
compile: clean
bundle exec nanoc
deploy: github_pages_export github_pages_push
github_pages_export: compile
cd output && \
cp ../gh-page/* . && \
mkdir -p .github && \
echo "This repository is auto-generated. You have to open pull requests against https://github.com/open-falcon/open-falcon.github.io instead." > .github/PULL_REQUEST_TEMPLATE.md && \
git init && \
git config user.name "Travis CI" && \
git config user.email "[email protected]" && \
git add . && \
git commit --message="Static site builder output, generated from 'source' branch."
github_pages_push:
cd output && \
git push -f [email protected]:open-falcon/open-falcon.github.io master
.PHONY: compile deploy github_pages_export github_pages_push