diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml new file mode 100644 index 0000000..f4e5e6e --- /dev/null +++ b/.github/workflows/deploy-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: true + +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 911d803..1c0a30a 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ An OBS browser overlay that reads from the AT Protocol firehose and displays ani ## Quick Start -Add `pets.html` as a browser source in OBS with a URL like: +Add `index.html` as a browser source in OBS with a URL like: - pets.html?streamer=did:plc:yourdidhere&repos=stream.place&status=1&limits=safe + index.html?streamer=did:plc:yourdidhere&repos=stream.place&status=1&limits=safe --- @@ -160,4 +160,4 @@ State (pet positions, transforms, type overrides) is persisted to `localStorage` ## Build -The entire application is a single self-contained HTML file: `pets.html`. No build step, no dependencies. +The entire application is a single self-contained HTML file: `index.html`. No build step, no dependencies. diff --git a/pets.html b/index.html similarity index 100% rename from pets.html rename to index.html