Skip to content

docs: 📝 update docs base #42

docs: 📝 update docs base

docs: 📝 update docs base #42

Workflow file for this run

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 build --filter @gbeata/admin-docs
- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: [email protected]:anyone-yuren/gbeata-admin-docs.git
BRANCH: gh-pages
FOLDER: docs-dist
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}