Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Again #4
Browse files Browse the repository at this point in the history
  • Loading branch information
ismarslomic committed Jun 11, 2015
1 parent c6ef255 commit 0a1bfa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions publish_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ git config --global user.email "[email protected]"

if [[ ! -d ./.git ]]; then
git init
git remote add origin [email protected]:ismarslomic/nodejs-microservice-poc.git
git remote add origin "https://${GH_TOKEN}@${GH_REF}"
git checkout -b gh-pages
else
git checkout gh-pages -q
fi

git add . -A
git commit -m "Publish to GitHub Pages"
git push --force "https://${GH_TOKEN}@${GH_REF}" origin gh-pages
git push --force origin gh-pages

0 comments on commit 0a1bfa7

Please sign in to comment.