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

Automate jobs with the usage of Travis CI #40

Open
JonatanSalas opened this issue Sep 4, 2016 · 7 comments
Open

Automate jobs with the usage of Travis CI #40

JonatanSalas opened this issue Sep 4, 2016 · 7 comments
Assignees

Comments

@JonatanSalas
Copy link
Member

JonatanSalas commented Sep 4, 2016

@danigomez @andrerpena When performing a build of every commit to keep some parts of the project sync, we should be able to do:

  • Automate gh-pages deployment
  • Automate npm distribution based on changes detected over package.json

In this way we could work better. I will charge with this task, to configure all the projects that has a travis.yml like redux-autoform and redux-autoform-bootstrap-ui

What's your opinion?

@andrerpena
Copy link
Member

Are you telling me that it's possible to automate Travis to publish to gh-pages automatically? I mean.. really? I know it's possible and I think it makes sense to do it as an NPM script but I didn't know this could be delegated to Travis.

@JonatanSalas
Copy link
Member Author

JonatanSalas commented Sep 5, 2016

You could create a script in NPM, and after a success build tell to Travis-CI that executes it. In this way, we keep the demo up to date, and when build fails, it keeps the demo that doesn't have any trouble!

@andrerpena
Copy link
Member

Yes but if Travis does it, it'd need Git credentials to push it to GH. And we woudn't commit Git credentials right? Or does it have a magical way that I'm not aware of?

@JonatanSalas
Copy link
Member Author

When you enable travis for your repo, it directly interacts with the Github API so, if you give permissions to Travis, then, it could do this. I'm interested in this plugin, and that's why I want to add gulp! https://github.com/shinnn/gulp-gh-pages

We could make tasks with gulp and tell travis that execute it.

@andrerpena
Copy link
Member

Oh god I'm so behind the time. Ok, that's amazing. If you could do it I'd really appreciate.

@JonatanSalas
Copy link
Member Author

I will work on this so we can have a good dev enviroment 😄

@JonatanSalas
Copy link
Member Author

JonatanSalas commented Sep 9, 2016

@andrerpena waiting for this! 😥 If the creator not respond to the issue, then I will try to add and see if it pass with travis! 😮

https://github.com/shinnn/gulp-gh-pages/issues/100

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

2 participants