Skip to content

🚀 Update deploy script #15

🚀 Update deploy script

🚀 Update deploy script #15

Workflow file for this run

name: Deploy
on:
push:
branches:
- develop
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Begin CI...
uses: actions/checkout@v2
- name: Install pnpm
run: corepack prepare pnpm@latest --activate
- name: Install dependencies
run: pnpm i
- name: Test
run: pnpm test --ci --coverage --maxWorkers=2
- name: Build
run: pnpm build
env:
NEXT_PUBLIC_GA_MEASUREMENT_ID: ${{ secrets.GA_MEASUREMENT_ID }}
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: master
publish_dir: ./out