Skip to content

Deploy the web app to GitHub Pages - #5

Merged
PowerShellYoungTeam merged 1 commit into
mainfrom
powershellyoungteam-osm-route-card-planning
Oct 6, 2026
Merged

PowerShellYoungTeam merged 1 commit into
mainfrom
powershellyoungteam-osm-route-card-planning

Conversation

@PowerShellYoungTeam

Copy link
Copy Markdown
Owner

Hosts the web app on GitHub Pages at https://powershellyoungteam.github.io/RoadRouteCardMaker/

  • New workflow .github/workflows/pages.yml:
    • When it runs: on pushes to main that change the app, the schema or the workflow, or when started manually.
    • Build: runs the Jest tests, then builds with PUBLIC_URL=/RoadRouteCardMaker so assets load from the repository sub-path.
    • Deploy: publishes with the official configure-pages, upload-pages-artifact and deploy-pages actions.
    • Permissions: limited to contents: read, pages: write and id-token: write.
  • Repo setting: Pages is already enabled with GitHub Actions as the source. The first deploy will run when this PR is merged.
  • READMEs:
    • Root README: deploy badge, a "Try it online" link and a hosted-app section in Quick start.
    • Web-app README: how deployment works, the PUBLIC_URL sub-path, and self-hosting or offline use of the build folder.

Notes

  • Cost: free, because the repo is public.
  • Privacy: the site is public, but cards stay in each user's browser. Routing, place search and the restriction check still call the public OpenStreetMap services, so only use fictional or non-sensitive routes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@PowerShellYoungTeam
PowerShellYoungTeam merged commit b104df8 into main Oct 6, 2026
2 checks passed
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.

1 participant