Skip to content

feat: init default settings (#2) #1

feat: init default settings (#2)

feat: init default settings (#2) #1

Workflow file for this run

name: React Build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code.
uses: actions/checkout@v2
- name: Install pnpm
run: npm install -g pnpm
- name: install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Deploy with gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npx gh-pages -d dist -u "github-actions-bot <[email protected]>"