Skip to content

output build directory #3

output build directory

output build directory #3

name: Github Page Deploy Workflow
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "18"
- run: npm ci
- run: npm run build
- name: Deploy
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: main
build_dir: build
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}