feat: github pages #80

Closed
enes wants to merge 0 commits from github-pages-10-14 into staging
Collaborator

This PR enables multi-stage release for the GitHub Pages:

  1. Gitea mirrors the state to the GitHub repository on each push
  2. DEGMods workflow on GitHub builds the /dist with the .env on the update to master branch
    • Make sure to update DEGMods repo env variables with the latest (this is manual step, and variables should match the existing gitea ones)
    • Update the CNAME env variable (CUSTOM_DOMAIN) for the release
  3. DEGMods workflow publishes dist to the DEG-Mods.github.io repo
    • Update the custom domain at the DEG-Mods.github.io repo (settings -> pages -> custom domain to match CNAME env var)
  4. After publishing, github-bot will deploy the page directly from the main branch

Additional:

  • Moved some images and csv to the assets folder in /src
  • Updating games list no longer requires changing GAME_FILES const (QoL)
This PR enables multi-stage release for the GitHub Pages: 1. Gitea mirrors the state to the GitHub repository on each push 2. DEGMods workflow on GitHub builds the `/dist` with the `.env` on the update to `master` branch - Make sure to update `DEGMods` repo env variables with the latest (this is manual step, and variables should match the existing gitea ones) - Update the `CNAME` env variable (`CUSTOM_DOMAIN`) for the release 3. DEGMods workflow publishes dist to the `DEG-Mods.github.io` repo - Update the custom domain at the `DEG-Mods.github.io` repo (`settings` -> `pages` -> `custom domain` to match `CNAME` env var) 4. After publishing, `github-bot` will deploy the page directly from the `main` branch Additional: - Moved some images and csv to the assets folder in `/src` - Updating games list no longer requires changing `GAME_FILES` const (QoL)
enes added 17 commits 2024-10-17 11:59:45 +00:00
enes requested review from s 2024-10-17 12:05:05 +00:00
enes removed review request for s 2024-10-17 12:05:14 +00:00
Author
Collaborator

Manually merged

Manually merged
enes closed this pull request 2024-10-18 08:49:54 +00:00
enes deleted branch github-pages-10-14 2024-10-18 08:50:07 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: degmods/degmods.com#80
No description provided.