Stevesolun commited on
Commit
4e4eae2
·
verified ·
1 Parent(s): 7987a27

Sync .github/workflows/docs.yml from ctx main

Browse files
Files changed (1) hide show
  1. .github/workflows/docs.yml +7 -4
.github/workflows/docs.yml CHANGED
@@ -14,6 +14,9 @@ on:
14
  - ".github/workflows/docs.yml"
15
  workflow_dispatch:
16
 
 
 
 
17
  # GitHub Pages requires these permissions on the deploy job.
18
  permissions:
19
  contents: read
@@ -31,12 +34,12 @@ jobs:
31
  runs-on: ubuntu-latest
32
  steps:
33
  - name: Checkout
34
- uses: actions/checkout@v4
35
  with:
36
  fetch-depth: 0 # Required by mkdocs git-revision plugins if added.
37
 
38
  - name: Set up Python
39
- uses: actions/setup-python@v5
40
  with:
41
  python-version: "3.11"
42
  cache: "pip"
@@ -52,7 +55,7 @@ jobs:
52
  python -m mkdocs build --strict
53
 
54
  - name: Upload Pages artifact
55
- uses: actions/upload-pages-artifact@v3
56
  with:
57
  path: site
58
 
@@ -66,4 +69,4 @@ jobs:
66
  steps:
67
  - name: Deploy
68
  id: deployment
69
- uses: actions/deploy-pages@v4
 
14
  - ".github/workflows/docs.yml"
15
  workflow_dispatch:
16
 
17
+ env:
18
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
19
+
20
  # GitHub Pages requires these permissions on the deploy job.
21
  permissions:
22
  contents: read
 
34
  runs-on: ubuntu-latest
35
  steps:
36
  - name: Checkout
37
+ uses: actions/checkout@v5
38
  with:
39
  fetch-depth: 0 # Required by mkdocs git-revision plugins if added.
40
 
41
  - name: Set up Python
42
+ uses: actions/setup-python@v6
43
  with:
44
  python-version: "3.11"
45
  cache: "pip"
 
55
  python -m mkdocs build --strict
56
 
57
  - name: Upload Pages artifact
58
+ uses: actions/upload-pages-artifact@v4
59
  with:
60
  path: site
61
 
 
69
  steps:
70
  - name: Deploy
71
  id: deployment
72
+ uses: actions/deploy-pages@v5