Skip to content

Deploy with Node.js v20 #13

Deploy with Node.js v20

Deploy with Node.js v20 #13

# This workflow deploys the repository to GitHub Pages when master branch is updated.
name: Deploy to GitHub Pages
on:
push:
branches: [master]
permissions:
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: dist
- uses: actions/deploy-pages@v4