Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

GitHub Pages usage?

Scheduled Pinned Locked Moved Solved GitHub Pages
4 Posts 2 Posters 442 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi all,

    I'm curious on how the GitHub Pages app is meant to be used. I get how it works with GitHub, push a repo to GitHub and it gets published on a GitHub subdomain. I'm not clear on how this is meant to work in combination with Cloudron.

    What I'd like to do is host a Jekyll repo on my Cloudron Gitea instance, and use the GitHub Pages app to render it. Is that possible? I tried something similar a while back and ran to issues, but I forget what they were offhand. Anyone have any suggestions on a workflow to do this?

    Thanks!

    1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #2

    I've reproduced my issue. These are my steps:

    • create directory and git init
    • gem install bundler jekyll
    • jekyll new my-awesome-site
    • git add .
    • git commit -m 'initial commit'
    • git remote add page https://my.domain/_git/page
    • git push page master
    • push succeeds

    At this point my issue is that when I go to my GitHub pages site, I only get this error and an empty page "Cannot GET /"

    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #3

    I agree, we have to improve the documentation page. Generally I wrote the app for one customer and I never used github pages myself, so likely it is not following the common workflow. Any suggestions are welcome.

    To answer your question, two things have to be changed:

    1. the git repo has to be inside the my-awesome-site directory and that one has to be pushed.
    2. jekyll version 3.6.2 is deployed with the app, so your Gemfile has to reference that version.

    As said please let me know how the app should be improved to make it more compliant with the github flow.

    1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #4

    Thanks, that resolved my issue.

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.