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


Skip to content

GitHub Pages

18 Topics 128 Posts
  • GitHub Pages - Package Updates

    Pinned
    33
    0 Votes
    33 Posts
    2k Views
    Package UpdatesP

    [1.21.0]

    SSH Push Support. See docs
  • SSH Key?

    7
    2 Votes
    7 Posts
    780 Views
    LanhildL

    @girish might take a look someday

  • Using the app with Github Actions

    6
    1 Votes
    6 Posts
    428 Views
    T

    Ah, thanks! I’m just getting started with Git/Github, so wasn’t aware of that. 🙂

  • SSL error

    Solved
    8
    1 Votes
    8 Posts
    719 Views
    rosanoR

    Solved by upgrading macOS git to latest version as suggested here.

  • Cant host website on gitpages

    Moved
    4
    0 Votes
    4 Posts
    367 Views
    P

    @girish ,yes I assume its git pages compatible ,infact the code which I uploaded was taken from github previously ,the website was built using nextjs

  • GitHub Pages can't push to remote

    Moved
    6
    0 Votes
    6 Posts
    510 Views
    jordanurbsJ

    @girish unfortunately no. i've sent you an email

  • Site not building suddenly

    4
    0 Votes
    4 Posts
    377 Views
    jordanurbsJ

    @girish I created a 404.html both in the file manager and in the git repo---nothing.

    @robi checked I took a look in the file manager & terminal and there were no clues as to why the repo was there but the files were not

    I did find a workable solution: I ended up cloning the repo into /app/data/ and then renaming the directory to 'website' and now it's live again.

    I seem to have to pull manually from the app's terminal though, and can't just push to the 'page' remote from my local machine. Is there a git command I can use in the /app/data/website directory to have it stay synced to the 'page' remote like the cloudron app should be doing anyway?

  • GitHub pages doesn't seem to build the site?

    4
    1 Votes
    4 Posts
    690 Views
    W

    @girish Thanks for the sanity check. There does seem to have been something wrong with my jekyll site creation. Trying again, it works as advertised...!? I can see a remote: => jekyll build line in the git-push output.

    IIRC I did attempt this more than once earlier, and I'm not sure what was wrong.

    Anyway, hopefully this thread may nevertheless be helpful for someone else getting started on this.

  • Missing or invalid credentials--never asked by the terminal for credentials

    Solved
    7
    0 Votes
    7 Posts
    8k Views
    jordanurbsJ

    @jordanurbs @girish fixed, had to run

    git config --global http.version HTTP/1.1

    and then switch back

  • site’s url is not set by default

    Solved
    2
    0 Votes
    2 Posts
    442 Views
    girishG

    @gerben thanks, I have tried to fix it in the latest release.

  • jekyll 3.9.0 | Error: The theme could not be found.

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    ?

    Yeah I've often found the GitHub Pages app clunky and hard to use. Add in the features of Surfer and I really don't see a need to have GitHub Pages on here. But yeah check out Surfer for sure.

  • Performance

    Solved
    6
    2 Votes
    6 Posts
    835 Views
    girishG

    @gerben said in Performance:

    We might indeed try use such a CDN if it turns out to be needed (probably not cloudflare, to not centralise the web too much). Ideally people would all just get our site via peer-to-peer delivery instead.

    Totally agreed. We self-host pretty much everything (other than the servers itself). Though I suggested Cloudflare, I was really nudging you towards maybe using a CDN since CDN has it's use cases. People have suggested BunnyCDN as well. That said, we don't use CDN ourselves, even for https://cloudron.io and https://docs.cloudron.io. It's served from surfer. This is mostly for ideological reasons, we are willing to give up on some speed and not centralize (we used to have it on AWS Cloudfront before).

  • Install Info page update..

    3
    1 Votes
    3 Posts
    493 Views
    robiR

    @girish Ohh, I didn't know that.. it looks so official, logo and all.. I found it weird as it's not quite fully self-hosting..

    can we make it work with GitLab/Gitea/Gogs?

  • Github Pages: Unexpected Content Error on Push

    Moved Solved
    10
    0 Votes
    10 Posts
    1k Views
    W

    @girish It worked! Need to change some of the jekyll code around to transition from github to this, but looks good!

  • How to sync sub pages for Github Pages

    Moved Solved
    5
    0 Votes
    5 Posts
    622 Views
    W

    @girish Works, thanks you!

  • How to use Github Pages App?

    Moved
    4
    0 Votes
    4 Posts
    549 Views
    murgeroM

    @will If you already have a basic site setup (using HTML) just push that to the ghpages app, no need for jekyll.

    Otherwise see https://cloudron.io/documentation/apps/githubpages/

    If you want, maybe easier - You can upload static HTML to the LAMP app too. under the /app/data/public folder.

  • Github Pages app problem

    Moved Solved
    7
    0 Votes
    7 Posts
    791 Views
    girishG

    @yusf That query for credentials each time can get annoying very quickly.. For now, you can setup this netrc file. Please see https://cloudron.io/documentation/apps/githubpages/#publishing-pages . Coming release, we are looking into ssh based push that will bypass this non-stop password querying.

  • GitHub Pages usage?

    Moved Solved
    4
    0 Votes
    4 Posts
    789 Views
    ?

    Thanks, that resolved my issue.