Skip to content

Conversation

leoj3n
Copy link
Contributor

@leoj3n leoj3n commented Mar 13, 2017

Use like:

grunt

grunt buildcontrol:pages

Despite having not having updated the docs (yet), this is functional and ready to go.

I think the only necessary change will be in Gruntfile.js:

The value of buildcontrol.pages.options.remote should be changed from [email protected]:leoj3n/documentcss.git to [email protected]:bitovi/documentcss.git so that when a maintainer with push access to https://github.com/bitovi/documentcss runs grunt buildcontrol:pages, the gh-pages branch is updated with the generated files.

Contributors will still be able to see their changes locally with grunt just as before.

@leoj3n
Copy link
Contributor Author

leoj3n commented Mar 13, 2017

To see the results of these changes check out:

https://github.com/leoj3n/documentcss/tree/deploy-to-gh-pages

Here is what is generated by the deploy command:

https://github.com/leoj3n/documentcss/tree/gh-pages

(site is live at https://leoj3n.github.io/documentcss/)

So, you can try these changes out on your own fork, just update

buildcontrol.pages.options.remote (in Gruntfile.js)

to point to [email protected]:YOURNAME/documentcss.git before running:

grunt && grunt buildcontrol:pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant