Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

publish gh-pages branch via travis-ci.org #12

Open
brunobord opened this issue May 28, 2014 · 3 comments
Open

publish gh-pages branch via travis-ci.org #12

brunobord opened this issue May 28, 2014 · 3 comments

Comments

@brunobord
Copy link

refs #11, and https://medium.com/philosophy-logic/53a8270e87db

@MoOx
Copy link

MoOx commented May 29, 2014

I just setup this kind of behavior in a gulp workflow this morning
Enjoy commit message.

putaindecode/putaindecode.io#217

@n1k0
Copy link
Owner

n1k0 commented May 29, 2014

So with 29e9389 you can already deploy to the gh-pages branch by running:

$ npm run deploy

Obviously this is tied to your local git repository configuration, so it won't work if you're not a repo contributor. Yeah, that means I'm the only one capable of using that command for now :p

Next step is to configure a travis build so it can use a gh personal access token to do that automatically for every commit landing to master.

@n1k0 n1k0 closed this as completed May 29, 2014
@n1k0 n1k0 reopened this May 29, 2014
@MoOx
Copy link

MoOx commented May 29, 2014

Next step is detailled is the previous PR I've linked so in this commit putaindecode/putaindecode.io@7beaf88 ;)
With a similar change you will have automatic deploy when YOU (or someone with write access that have added his token in the list) commit & push into master (so no other branch nor PR)

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

No branches or pull requests

3 participants