fix editorial issues #33
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: Deploy gh-pages | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: > | |
npm ci && | |
npm run build && | |
npm run spec && | |
cp -r demo dist && | |
cp -r lib dist/demo | |
- uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist | |
clean: true |