docs(docs): 暂时删除K8S调度器适配器配置部分 #2550
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Docs Preview to GitHub Pages | |
on: | |
pull_request: | |
branches: [master] | |
types: ["opened", "reopened", "synchronize", "closed"] | |
paths: | |
- docs/** | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
deploy-docs-preview: | |
name: Deploy Docs Preview | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4.0.0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Build website | |
run: pnpm run --filter docs... build | |
env: | |
GIT_PLATFORM: github | |
CR_URL: ghcr.io/${{ github.event.repository.name }} | |
BASE_PATH: /${{ github.event.repository.name }}/pr-preview/pr-${{ github.event.number }}/ | |
- name: Deploy preview | |
uses: rossjrw/pr-preview-action@v1 | |
with: | |
source-dir: ./docs/build/ |