commit eca3547b28dc20414e2df426abefe07775059f2d parent 595b2bbc0bb10912f9646b1dad1c74c8843db120 Author: Henry Unite <unitehenry@gmail.com> Date: Sun, 19 Apr 2026 18:30:23 +0000 ci: deploy to pages Diffstat:
| M | .github/workflows/main.yml | | | 23 | +++++++++++++++++++++++ |
1 file changed, 23 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml @@ -23,3 +23,26 @@ jobs: - name: Build the game run: ./scripts/build + + - name: Upload artifact + uses: actions/upload-pages-artifact@v5.0.0 + with: + name: github-pages + path: build + + deploy: + runs-on: ubuntu-latest + needs: [build] + + permissions: + pages: write + id-token: write + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: + - name: Deploy + id: deployment + uses: actions/deploy-pages@v5