Skip to content

Commit 5dfdf0b

Browse files
atualiza o script de deploy
1 parent 38e9d85 commit 5dfdf0b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.DS_Store

-6 KB
Binary file not shown.

gh-pages.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ cp ./CNAME ./dist/CNAME
44
cp ./humans.txt ./dist/humans.txt
55
cp ./crossdomain.xml ./dist/crossdomain.xml
66
cp ./README.md ./dist/README.md
7-
git subtree push --prefix dist origin master
7+
git subtree split --prefix dist -b master # create a local master branch containing the splitted output folder
8+
git push -f origin master:master # force the push of the master branch to the remote master branch at origin
9+
git branch -D master # delete the local master because you will need it: ref

0 commit comments

Comments
 (0)