We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92bb7d5 commit ca85405Copy full SHA for ca85405
publish-gh-pages
@@ -9,10 +9,16 @@ git checkout master -- \
9
'*.png' \
10
_config.yml \
11
;
12
+touch .nojekyll
13
+# submodules are not deleted on checkout.
14
+# We should not publish like this, we should make a separate tree,
15
+# otherwise files appear and disapear as you publish, which is bad
16
+# for editors. But lazy.
17
+echo 'submodules' >> .gitignore
18
cp out/README.html index.html
19
cp out/doc/* .
20
mv README.html index-split.html
21
git add .
-git commit --message "$(git log -n1 --pretty='%H' master)"
-git push
22
+git commit --allow-empty --message "$(git log -n1 --pretty='%H' master)"
23
+git push -f
24
git checkout -
0 commit comments