Skip to content

Merge pull request #69 from nnn-training/fix-67 #86

Merge pull request #69 from nnn-training/fix-67

Merge pull request #69 from nnn-training/fix-67 #86

Workflow file for this run

name: deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.9.0
uses: actions/setup-node@v3
with:
node-version: 20.9.0
- name: install
run: |
yarn install
- name: build
run: |
yarn build
env:
GITHUB_PAGES: true
- name: generate sitemap
run: |
npx next-sitemap
- name: export
run: |
yarn export
touch out/.nojekyll
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out