Skip to content

Commit

Permalink
Added auto add CNAME to buildscript
Browse files Browse the repository at this point in the history
  • Loading branch information
smitthakkar96 authored Mar 23, 2017
1 parent c88004c commit 6087167
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/deploy-to-gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ gulp build

# deploy
cd build
touch CNAME
echo "gdggandhinagar.org" > CNAME
git init
git add .
git commit -m "Deploy to Github Pages"
git push --force "https://${GITHUB_TOKEN}@github.com/${GITHUB_REPO}.git" master:gh-pages
git push --force "https://${GITHUB_TOKEN}@github.com/${GITHUB_REPO}.git" master:gh-pages

0 comments on commit 6087167

Please sign in to comment.