Skip to content

Move static site hosting to GitHub Pages#3

Merged
FedericoPonzi merged 1 commit intotlaplus:mainfrom
lemmy:main
Feb 26, 2026
Merged

Move static site hosting to GitHub Pages#3
FedericoPonzi merged 1 commit intotlaplus:mainfrom
lemmy:main

Conversation

@lemmy
Copy link
Copy Markdown
Member

@lemmy lemmy commented Feb 25, 2026

PoC

https://lemmster.de/tla-by-example/

Summary

  • Migrate deployment from VPS rsync to GitHub Pages via GitHub Actions.
  • Configure Next.js static export for project-site hosting at /tla-by-example.
  • Disable the legacy VPS deployment workflow.

Changes

  • Added a Pages deployment workflow in .github/workflows/pages.yml using:
    • actions/configure-pages
    • actions/upload-pages-artifact
    • actions/deploy-pages
  • Updated next.config.mjs to support GitHub Pages project-path hosting:
    • basePath from NEXT_PUBLIC_BASE_PATH
    • assetPrefix aligned with basePath
    • trailingSlash: true for static route compatibility
  • Disabled legacy VPS deploy in .github/workflows/cd.yml (manual-only and non-running).

Notes

  • Some runtime content will continue to be fetched from cjrtnc.leaningtech.com (e.g. CheerpJ loader/runtime) due to Leaning Technologies licensing/distribution requirements.
  • Repository-hosted static assets (including exported app pages and TLC JAR artifacts) are still served from GitHub Pages.

…tions; modify GitHub Actions workflow to use workflow_dispatch trigger.
@lemmy lemmy added the enhancement New feature or request label Feb 25, 2026
@lemmy lemmy requested a review from FedericoPonzi February 25, 2026 23:57
Copy link
Copy Markdown
Collaborator

@FedericoPonzi FedericoPonzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread .github/workflows/cd.yml
@FedericoPonzi FedericoPonzi merged commit 240d8da into tlaplus:main Feb 26, 2026
1 check passed
@lemmy
Copy link
Copy Markdown
Member Author

lemmy commented Feb 26, 2026

@FedericoPonzi Should I go ahead and ask the Linux Foundation to update learning.tlapl.us to point to the new github-hosted instance?

@FedericoPonzi
Copy link
Copy Markdown
Collaborator

Yes please, I'll add a redirect from tlabyexample to learning.tlapl.us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants