From e3052505ec4e89742d2bac89c5e52c3c577eee65 Mon Sep 17 00:00:00 2001 From: Jose Jimenez Date: Mon, 23 Feb 2026 21:51:51 +0100 Subject: [PATCH] Deploy to github pages workflow added --- .github/workflows/deploy.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..3f29316 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,25 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: [main] + +permissions: + contents: read + pages: write + id-token: write + +jobs: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/configure-pages@v4 + - uses: actions/upload-pages-artifact@v3 + with: + path: ./src # <-- adjust this to wherever your index.html lives + - id: deployment + uses: actions/deploy-pages@v4