Skip to content

Commit ee862b9

Browse files
Add publish.sh
1 parent cf47c96 commit ee862b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

publish.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
hugo
3+
git subtree split --prefix public -b master # create a local master branch containing the splitted output folder
4+
git push -f origin master:master # force the push of the master branch to the remote master branch at origin
5+
git branch -D master # delete the local master because you will need it: ref

0 commit comments

Comments
 (0)