Skip to content

Commit 2c0d047

Browse files
author
shijiashuai
committed
chore: update GitHub Pages workflow and docs
1 parent 772f831 commit 2c0d047

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ on:
66
pull_request:
77
branches: [main, master]
88

9+
permissions:
10+
contents: read
11+
12+
concurrency:
13+
group: ci-${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
916
jobs:
1017
build:
1118
runs-on: ubuntu-latest

.github/workflows/pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
steps:
2424
- name: Checkout
2525
uses: actions/checkout@v4
26+
with:
27+
sparse-checkout: |
28+
docs
2629
2730
- name: Setup Pages
2831
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)