Skip to content

Merge pull request #475 from kgrubb/dependabot/npm_and_yarn/fortaweso… #352

Merge pull request #475 from kgrubb/dependabot/npm_and_yarn/fortaweso…

Merge pull request #475 from kgrubb/dependabot/npm_and_yarn/fortaweso… #352

Workflow file for this run

name: Publish to Github Pages
on:
push:
branches:
- main
- master
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- run: npm ci
- run: |
npx nuxi cleanup
npm run generate
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_DIR: ./.output/public