Commit fa62cc25 authored by Sam Saccone's avatar Sam Saccone

deploy: Further tweaks to deploy process

* No need to recheckout gh-pages since the submodule already clones the branch.
* Fix / Remove wonky cp
parent 6394e6f3
...@@ -14,10 +14,8 @@ then ...@@ -14,10 +14,8 @@ then
npm run gulp npm run gulp
git submodule add -b gh-pages https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME} site > /dev/null 2>&1 git submodule add -b gh-pages https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME} site > /dev/null 2>&1
cd site cd site
git checkout -B gh-pages
git rm -r . git rm -r .
cp -R ../dist/* . cp -R ../dist/* .
cp ../dist/.* .
git add -f . git add -f .
git config user.email 'travis@rdrei.net' git config user.email 'travis@rdrei.net'
git config user.name 'TasteBot' git config user.name 'TasteBot'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment