Skip to content

Merge pull request #38 from wiirhan/feat/components #45

Merge pull request #38 from wiirhan/feat/components

Merge pull request #38 from wiirhan/feat/components #45

name: Deploy Playground And Sync to Gitee
on:
push:
branches: [dev, main]
jobs:
deploy-playground-sync-gitee:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 7
- name: Set node version to 16
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build ute
run: pnpm build
- name: Deploy site
uses: JamesIves/[email protected]
with:
branch: gh-page
folder: site
- name: Sync to Gitee
uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
with:
source-repo: [email protected]:varletjs/varlet-ute.git
destination-repo: [email protected]:vike123/varlet-ute.git