Skip to content

fix: gh-pages to be installed for the first run #35

fix: gh-pages to be installed for the first run

fix: gh-pages to be installed for the first run #35

Workflow file for this run

name: Publish to GH Pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '18.x'
- run: npm install
- run: npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
folder: dist