diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..da044e6 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,30 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: false + +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@v5 + - uses: actions/upload-pages-artifact@v3 + with: + path: . + - id: deployment + uses: actions/deploy-pages@v4 diff --git a/README.md b/README.md index d2ea2ec..bf2024b 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,13 @@ Two versions are included: | `REC.html` | Full | You want overlays, audio meters, device selection, recordings list, and Save to Disk | | `REC-tiny.html` | ~16 KB | You want a minimal, dependency-free drop-in with no extras | +## Pages + +Hosted on GitHub Pages, automatically deployed on every push to `main`: + +- **Full:** https://infinityhack3r.github.io/REC/REC.html +- **Tiny:** https://infinityhack3r.github.io/REC/REC-tiny.html + --- ## REC-tiny