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

Adds automatic build via Travis and Surge.sh #19

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kennethormandy
Copy link

This PR isn’t ready to merge as-is, but I do have the first option I described here #17 (comment) working on my fork.

opentypecookbook-example.kennethormandy.com/ is automatically compiled and deployed when I push to that repository. This also means that if people open PRs for typos, you can merge them and the site will automatically be rebuilt and published too.

The site would be hosted on Surge.sh (full discolsure, it’s where I used to work and I’m still involved) which I find it a lot easier than the GitHub Pages approach to deployment. Most of this is still usable even if you decide you want it on GitHub Pages instead, though, only the deploy script in the .travis.yml file would change.

If you want to set this up on the main repo, some things that would need to happen:

  • Create a Surge account
  • Generate a token for Travis
  • Set this repository up on Travis
  • Merge the PR
  • Remove the predeploy script I added, so my copy doesn’t show up in search results
  • Fix the missing WOFF files (maybe these would just be hosted somewhere else? I understand why you don’t want them in the repo)
  • Change the DNS settings for the domain to point to Surge

I realise that’s kind of a long list, but most of those things I couldn’t take care of because they require credentials. If you did want help on that part too and don’t mind giving me some level of access to the repository, I could do everything other than the DNS settings. Let me know what you think.

Sorry, something went wrong.

@kennethormandy
Copy link
Author

Hey, just checking in on this. The cookbook helped me a lot recently—I’d be happy to help contribute back by getting the auto-building and deploying for the site working if you’re still interested.

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

Successfully merging this pull request may close these issues.

None yet

1 participant