Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up travis to automatically deploy to gh-pages when master is pushed #16

Open
Widdershin opened this issue Jul 25, 2016 · 7 comments
Assignees

Comments

@Widdershin
Copy link
Member

https://gist.github.com/domenic/ec8b0fc8ab45f39403dd

@artfuldev
Copy link
Member

I can take this up!

@artfuldev artfuldev self-assigned this Jun 11, 2017
@artfuldev
Copy link
Member

Actually @Widdershin I was thinking why can't we make master the gh-pages source so that we don't have to maintain another branch separately for deployment. We can change the source in settings of this repo.

@Widdershin
Copy link
Member Author

If it makes it significantly easier to get this issue done I have no qualms with that :)

@artfuldev
Copy link
Member

Currently what do we do? We trigger a build script and then push to branch gh-pages?

@artfuldev
Copy link
Member

BTW would need some admin access to this repo etc. for this task, I suppose.

@olpeh
Copy link
Member

olpeh commented Jun 14, 2017

I don't know if this is what you need, but I use it in my project for single command deploys. This is my setup:

"homepage": <gh-page-address>
...
"gh-pages": "^0.12.0",
....
"predeploy": "npm run test && npm run build",
"deploy": "gh-pages -d build",
...

@olpeh
Copy link
Member

olpeh commented Jul 12, 2017

Found this useful tutorial: https://github.com/voorhoede/front-end-tooling-recipes/blob/master/travis-deploy-to-gh-pages/README.md

Currently setting this up for my personal project

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

No branches or pull requests

3 participants