-
-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathMakefile
More file actions
18 lines (15 loc) · 567 Bytes
/
Copy pathMakefile
File metadata and controls
18 lines (15 loc) · 567 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
theme:
rm -rf .github/website/themes/book
git submodule add -f https://github.com/alex-shpak/hugo-book .github/website/themes/book
copy:
mkdir -p .github/website/content/docs/what
cp *.md .github/website/content/docs
cp -r what/*.md .github/website/content/docs/what
cat .github/website/content/docs/README.md >> .github/website/content/_index.md
run: copy
hugo server -s .github/website/
git checkout .github/website/content/_index.md
publish: copy
hugo -s .github/website/
mv .github/website/public docs
git checkout .github/website/content/_index.md