Skip to content

changed next config #93

changed next config

changed next config #93

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and export it.
name: NextJS GitHub Pages deployment
on:
push:
branches: [ dev ]
workflow_dispatch:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
with:
ref: dev
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm run export
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./out