bramstein / stateofwebtype

Up-to-date data on support for type and typographic features on the web.
http://stateofwebtype.com
Other
65 stars 8 forks source link

Automatically deploy to master #18

Closed kennethormandy closed 7 years ago

kennethormandy commented 7 years ago

State of Web Type should be automatically compiled and deployed when something is pushed to the master branch. This also means that if people open PRs for data, typos, etc. we can merge them and the site will automatically be rebuilt and published too.

The site could be hosted on Surge.sh (full disclosure, I helped build it) but most of this is still usable even if you decide you want it on GitHub Pages instead. Only the deploy script in the package.json file would change (probably using gh-pages).

Some things that would need still to happen:

bramstein commented 7 years ago

Done, thanks a lot. It seems I can't deploy locally though. Any way to fix that?

kennethormandy commented 7 years ago

Okay! Are you getting an access denied message? I sent an invite to the email on your GitHub profile, once you claim the invitation in the email, you should be able to run npm run deploy.

Also it looks like I don’t actually have sufficient privileges to set up Travis after all: https://travis-ci.org/bramstein/stateofwebtype I’ve already added the environment variables, which will hopefully show up there for you, but I can’t actually enable Travis CI on the repo.

bramstein commented 7 years ago

Ah, should have pressed the "Claim" button. Sorry, I missed that. I enabled Travis. It's building now, so let's see how it goes. Thanks again!