debounce pushHistoryState, default stepBatchSize to 20 #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build + deploy to GitHub Pages | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ "**" ] | |
workflow_dispatch: | |
jobs: | |
build-and-deploy: | |
name: Build and deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 19 | |
cache: 'npm' | |
- run: npm install | |
- run: npm run gha-export | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
repository-name: ryan-williams/apvd | |
branch: gh-pages | |
folder: out | |
token: ${{ secrets.ghp_pat }} # expires 2023-11-16 |