Skip to content

Commit

Permalink
🎨 docfx_page
Browse files Browse the repository at this point in the history
  • Loading branch information
Lxy829 committed Nov 17, 2023
1 parent f25e32b commit a3596cf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/docfx_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,16 @@ jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
matrix:
# os: [ windows-latest ]
os: [ aigio-win10ltsc-vm ]

steps:
- name: Checkout repository
# if: ${{ matrix.os != 'aigio-win10ltsc-vm' }}
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive

ref: dev8
# - name: Checkout repository(BD.Git.Checkout.Tools)
# if: ${{ matrix.os == 'aigio-win10ltsc-vm' }}
# run: C:\actions-runner\checkout.exe ${{ github.workspace }} ${{ github.sha }} ${{ github.repositoryUrl }}
Expand Down Expand Up @@ -70,7 +67,6 @@ jobs:

- name: Build docfx
run: docfx ./docfx.json
working-directory: ./source

- name: Checkout docs
uses: actions/checkout@v3
Expand All @@ -84,7 +80,7 @@ jobs:
working-directory: ./docs

- name: Sync new content
run: Copy-Item -Recurse -Verbose -Force "$env:GITHUB_WORKSPACE/source/_site/*" "$env:GITHUB_WORKSPACE/docs"
run: Copy-Item -Recurse -Verbose -Force "$env:GITHUB_WORKSPACE/_site/*" "$env:GITHUB_WORKSPACE/docs"
working-directory: ./docs

# update docs
Expand Down

0 comments on commit a3596cf

Please sign in to comment.