Skip to content

Commit

Permalink
Restore push to DEPLOY_USER's remote
Browse files Browse the repository at this point in the history
This restores ability to host a staging website alongside production.
  • Loading branch information
hramos authored Dec 9, 2016
1 parent 56a39af commit df61048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/publish-gh-pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ cd(`build/${CIRCLE_PROJECT_REPONAME}-gh-pages`)

exec(`git add --all`);
exec(`git commit -m "update website"`)
exec(`git push origin gh-pages`)
exec(`git push https://${GIT_USER}@github.com/${DEPLOY_USER}/${CIRCLE_PROJECT_REPONAME}.git gh-pages`)
cd(`../..`);

echo(`Website is live at: https://${CIRCLE_PROJECT_USERNAME}.github.io/${CIRCLE_PROJECT_REPONAME}/`)

0 comments on commit df61048

Please sign in to comment.