Skip to content

feat: export way

feat: export way #61

Workflow file for this run

name: etc-hooks
on:
push:
branches:
- 'main'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/[email protected]
- name: Lock npm version
uses: actions/setup-node@v3
with:
node-version: 16.18.0
- name: Install and Build
run: |
npm i -g pnpm
pnpm run init
pnpm run build:doc
env:
NODE_OPTIONS: '--max_old_space_size=4096'
- name: Deploy
uses: JamesIves/[email protected]
with:
BRANCH: etc-pages
FOLDER: dist
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}