Skip to content

update service worker #88

update service worker

update service worker #88

Workflow file for this run

name: "Nextjs build"
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup nodejs
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- name: Install dependencies
run: npm install
- name: Build app
run: |
npm run build
npm run export
touch out/.no-jekyll
env:
NODE_ENV: production
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out