Skip to content

Merge pull request #3 from EralChen/dev #6

Merge pull request #3 from EralChen/dev

Merge pull request #3 from EralChen/dev #6

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
npm install -g pnpm
pnpm install
- name: Build
run: npm run docs:build
timeout-minutes: 30
env:
NODE_OPTIONS: --max-old-space-size=8192
- name: Deploy
uses: JamesIves/[email protected]
with:
token: ${{ secrets.PATC_TOKEN }}
branch: gh-pages
folder: docs/dist/client
force: true
commit-message: website deploy
repository-name: EralChen/vunk-plus
- name: Cleanup
run: rm -rf docs/dist