Skip to content

Modify github workflow #1

Modify github workflow

Modify github workflow #1

name: GitHub Page Publish
env:
CI: false
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node 🔧
uses: actions/setup-node@v2
with:
node-version: "16"
- name: Install and Build 🔧
run: |
yarn
yarn build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build