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

Deploy to GitHub Pages with Travis-CI #230

Open
cmccandless opened this issue Oct 18, 2018 · 8 comments
Open

Deploy to GitHub Pages with Travis-CI #230

cmccandless opened this issue Oct 18, 2018 · 8 comments

Comments

@cmccandless
Copy link

As primary content of this repository is, this is an excellent candidate for using GitHub Pages.

Benefits:

  • Optional theme
  • Faster load time
    • No need to load GitHub site itself
    • Markdown is pre-rendered as HTML

See the following links for details on setup (automatic deployment will require maintainer action)

@123survesh
Copy link

Hi I would like to work on this issue. I will update here once I have some progress 😃

@outfire1001
Copy link

Need to know about any other solutions

@RichardLitt
Copy link
Collaborator

Feel free to work on it. My requirements are:

  • No extra files in the main branch
  • No need for me to update the jekyll pages branch when I update the main branch
  • An easily customizable theme, preferably one of the default ones

@123survesh
Copy link

Hi,
I am new to this, can someone tell me if I am doing things right? This is what I have done so far.

I added the following code to travis.yml

deploy:
  provider: pages
  skip-cleanup: true
  github-token: $GITHUB_TOKEN  # I added my repos secret key here
  keep-history: true
  on:
    branch: gh-pages

I have been testing this process on my forked repo using travis CI. Travis CI needs a personal access token for the repository we are doing deployment for.
Now every time I run make a push, Travis CI executes the yaml file and creates a build.

And for the github pages part of it, we have to go to the repository settings and set it up. Also the theme chooser is situated there, where I chose the theme.
image

I have created a PR with the above changes. Do tell if it does the job. #244

@RichardLitt
Copy link
Collaborator

Ping @k88hudson. We need your help here.

@RichardLitt
Copy link
Collaborator

@k88hudson Are you still interested in maintaining this repository?

@cmccandless
Copy link
Author

I went ahead and forked this repo and deployed it myself. I have not and will not modify any of the content, and plan to delete my fork when/if this repo deploys.

@RichardLitt
Copy link
Collaborator

Looks good to me! Hopefully we can deploy it too. I would, but I don't have access at the moment.

I'd encourage anyone who wants to see this content to check out firstaidgit.io, too. A beautiful website made by my friend Ricardo that also has this content.

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

No branches or pull requests

4 participants