jeudi 24 novembre 2016

Having Travis-CI check files into Github?

I have a requirement for some very basic static file hosting, something that GitHub pages can easily handle - HTML & images only.

However the HTML and images are generate in a Travis-CI test script - so after the travis build is done, I want it to push a directory of artifacts back into Github.

Preferably into a git repo different to the one that triggered the build, but within the same GitHub organisation.

I know I can probably write a script that does the pull and push into the repo, but I'm unsure if I need to give travis extra keys or hooks.

Is this possible?

Aucun commentaire:

Enregistrer un commentaire