Skip to content

refactor(project): ♻️ updated #28

refactor(project): ♻️ updated

refactor(project): ♻️ updated #28

Workflow file for this run

name: Deploy Website
on:
push:
branches:
- main
jobs:
deploy-demos:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Build Demos
run: pnpm build
- name: Deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
GIT_CONFIG_NAME: zouyaoji
GIT_CONFIG_EMAIL: [email protected]
COMMIT_MESSAGE: website deploy