Skip to content

[update] information #94

[update] information

[update] information #94

Workflow file for this run

name: Build & Deploy On Github-pages
on:
push:
branches: main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Use Node.js 16.20.2
uses: actions/setup-node@v2
with:
node-version: 16.20.2
- name: Install dependencies
run: npm install
- name: Cache 💾
uses: actions/cache@v2
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
- run: rm -rf node_modules/.cache
- run: npm ci
- run: npm run build
- run: npm run export
- run: touch out/.nojekyll
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
force_orphan: true