Skip to content

Play buffer at currentTime on start #20

Play buffer at currentTime on start

Play buffer at currentTime on start #20

Workflow file for this run

name: Deploy Demo
on:
push:
branches: ['main']
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:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
- name: Install dependencies
run: npm install
- name: Build
run: npm run build -- --base=/metronome/
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './demo'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4