pistolshrimpgames / ProceduralPlanet

Procedural planets with Three.js
Do What The F*ck You Want To Public License
7 stars 4 forks source link

Add Actions pipeline to deploy production artifacts to GitHub Pages, fix relative paths for TTF font loading in Webpack #18

Closed crocodele closed 1 year ago

crocodele commented 1 year ago

This PR enables automatic deployment of the static Planet Generator files to GitHub Pages upon merge to master branch, with the URL being https://pistolshrimpgames.github.io/ProceduralPlanet/. The deployed files shouldn't mess with the Pistol Shrimp documentation site at https://pistolshrimpgames.github.io/, as long as no-one adds a directory named ProceduralPlanet to the documentation site. 🙂

Before merging this PR, please go to the repository settings > Pages and switch the source from Deploy from a branch to GitHub Actions.

github-pages

Dry-run (will delete after merge):

I included the changes from https://github.com/pistolshrimpgames/ProceduralPlanet/pull/15 in this PR, since both are touching the Webpack build config.