Skip to content

Commit 4f5e3a6

Browse files
authored
Merge pull request #475 from Chisanan232/develop/docs
[CU-86erprxap] Fix the issue about the git versioning time info is incorrect by default setting of GitHub Action bot for GitHub Pages build and deploy.
2 parents 32d3e8e + a083edb commit 4f5e3a6

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/documentation.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,17 @@ env:
2929

3030
permissions:
3131
contents: write
32+
id-token: write
33+
pages: write
3234

3335
jobs:
3436
deploy_latest_documentation:
3537
runs-on: ubuntu-latest
3638
steps:
3739
- name: Checkout
3840
uses: actions/checkout@v4
41+
with:
42+
fetch-depth: 0
3943

4044
- name: Install Python 3.12
4145
uses: actions/setup-python@v5
@@ -63,7 +67,6 @@ jobs:
6367
poetry run mike --version
6468
bash ./scripts/ci/deploy-latest-version-documentation.sh
6569
66-
6770
check_version-state:
6871
# name: Check the version update state
6972
uses: ./.github/workflows/rw_checking_deployment_state.yaml
@@ -88,6 +91,8 @@ jobs:
8891
steps:
8992
- name: Checkout
9093
uses: actions/checkout@v4
94+
with:
95+
fetch-depth: 0
9196

9297
- name: Install Python 3.12
9398
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)