Merge pull request #7 from Artoria2e5/patch-1 #19
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 | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ljharb/actions/node/install@main | |
name: 'nvm install lts/* && npm install' | |
with: | |
node-version: lts/* | |
- run: npm run build | |
- uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: build | |
clean: true |