Skip to content

Conversation

@WofWca
Copy link

@WofWca WofWca commented Jun 19, 2025

This deploys the web version to GitHub pages
The website does not require manually adding the .pk3 files
to the HTTP server's directory.
This way the page can be used by regular people.

I have tested the deployment on my fork. You can try it here:
https://wofwca.github.io/ioq3.

2025-06-19-zy5XciYPZJ.mp4

The new page, upload-game-files-to-cache.html in its current state only supports baseq3, but can be adjusted later to support Team Arena and the demo version of Quake III Arena or Team Arena. Maybe even with mods.

Additionally, in the future this might simplify
the development workflow of reviewing MRs,
because this does not require downloading any files
to run the preview build.

The approach is taken from

The commits are self-contained and can be merged on-by-one (in sequence). I suggest a non-squash merge.

WofWca and others added 5 commits June 19, 2025 16:33
This allows us to deploy a public static page
that does not require manually adding the `.pk3` files
to the HTTP server's directory.
This way the page can be used by regular people.

Additionally, in the future this might simplify
the development workflow of reviewing MRs,
because this does not require downloading any files
to run the preview build.

The approach is taken from
- https://github.com/jdarpinian/ioq3/blob/7801abd5ac510a889087ad62473c54dbe509e106/code/web/index.html#L614-L660
- https://github.com/WofWca/quake3.xdc/blob/be18795b56a0e408514e78201a731f38c1a92bc6/upload-full-version.html

Co-authored-by: James Darpinian <[email protected]>
This simplifies navigating to the web version.
You don't have to search and click the `ioquake3.html` file.

This is especially useful for the GitHub pages deployment.
The deployment workflows sort of expect `index.html`
to be present.
They usually print `.../ioq3/` as the final URL,
but GitHub pages doesn't allow you to browse the files.
It simply says `404` if there is no `index.html`.
This commit should fix it.
@NuclearMonster
Copy link
Member

Many people consider GitHub to have significant issues that have never been addressed and I do not want to encourage the usage of more GitHub features that make it more difficult to leave this place.

@WofWca
Copy link
Author

WofWca commented Nov 16, 2025

OK, if I remove the workflow file and add some instructions instead, would it be acceptable?

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.

2 participants