Skip to content

fix(component): 🐛 add gbeata component publicPath #2

fix(component): 🐛 add gbeata component publicPath

fix(component): 🐛 add gbeata component publicPath #2

name: Deploy to GitHub Pages
on:
push:
branches:
- release-admin
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Chekcout 🛎️ # 步骤名
uses: actions/checkout@master # 使用插件 => https://github.com/actions/checkout
- name: Install pnpm
uses: pnpm/[email protected]
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install dependencies
shell: bash
run: |
pnpm config set registry https://registry.npmmirror.com
pnpm install
- name: Build 🔧
run: pnpm docs:build
- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: [email protected]:anyone-yuren/gbeata-component-docs.git
BRANCH: gh-pages
FOLDER: gbeata-dist
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}