intermine / intermine-homepage-2017

InterMine's new homepage as of 2017
http://intermine.org
GNU Lesser General Public License v2.1
5 stars 28 forks source link

Set up continuous deployment with Travis #1

Closed yochannah closed 5 years ago

yochannah commented 6 years ago

The intermine homepage uses hugo to generate static pages. Right now we have to manually generate the pages, then copy/paste the alterations over to the master branch of intermine.github.io.

task clone this repo and set up a deployment script with travis to automatically build the site and push to another repo's master branch.

When it looks like it's working locally for you, we can merge the code and tweak tokens / env variables to deploy it to the live site.

XiangpengHao commented 6 years ago

We can do this by adding a deploy key to the Travis env variables and after successfully built the static pages, we load the key from Travis and then push back to GitHub, am I correct? Can I start working on it?

yochannah commented 6 years ago

@HaoPatrick go ahead! :+1: