From 36d32cd1fda6ab61cfab52e5f5460a100b446ef8 Mon Sep 17 00:00:00 2001 From: ephmo <241746745+ephmo@users.noreply.github.com> Date: Tue, 2 Dec 2025 17:01:12 +0200 Subject: [PATCH] ci: add GitHub Pages deployment workflow --- .github/workflows/deploy.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..8e2c900 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,32 @@ +name: Deploy Pages + +on: + push: + branches: [main] + +permissions: + contents: read + pages: write + id-token: write + +jobs: + deploy: + runs-on: ubuntu-latest + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: + - uses: actions/checkout@v6 + + - uses: actions/configure-pages@v5 + + - name: Upload static files as artifact + uses: actions/upload-pages-artifact@v4 + with: + path: src/ + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4