Skip to content

Commit f7e4255

Browse files
author
PDSEN Ops
committed
Apply latest LDD Automation updates for build-docs.yml
1 parent 5bea487 commit f7e4255

1 file changed

Lines changed: 17 additions & 13 deletions

File tree

.github/workflows/build-docs.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ permissions:
1717
pages: write
1818
id-token: write
1919

20-
# Allow one concurrent deployment
21-
concurrency:
22-
group: "pages"
23-
cancel-in-progress: true
24-
2520
jobs:
2621
# Single deploy job since we're just deploying
2722
deploy:
@@ -30,17 +25,23 @@ jobs:
3025
name: github-pages
3126
url: ${{ steps.deployment.outputs.page_url }}
3227
runs-on: ubuntu-latest
28+
29+
# Allow one concurrent deployment
30+
concurrency:
31+
group: "pages"
32+
cancel-in-progress: true
33+
3334
if: github.actor != 'pdsen-ci'
3435
steps:
3536
- name: Checkout
36-
uses: actions/checkout@v4
37+
uses: actions/checkout@v5
3738
with:
3839
token: ${{ secrets.ADMIN_GITHUB_TOKEN || github.token }}
3940

4041
- name: Set up Python 3
41-
uses: actions/setup-python@v5
42+
uses: actions/setup-python@v6
4243
with:
43-
python-version: '3.9'
44+
python-version: '3.13'
4445

4546
- name: Install dependencies
4647
run: |
@@ -57,7 +58,7 @@ jobs:
5758
uses: actions/configure-pages@v5
5859

5960
- name: Upload artifact
60-
uses: actions/upload-pages-artifact@v3
61+
uses: actions/upload-pages-artifact@v4
6162
with:
6263
# Upload entire repository
6364
path: '.'
@@ -72,14 +73,14 @@ jobs:
7273
if: github.actor != 'pdsen-ci'
7374

7475
steps:
75-
- uses: actions/checkout@v4
76+
- uses: actions/checkout@v5
7677
with:
7778
token: ${{ secrets.ADMIN_GITHUB_TOKEN || github.token }}
7879

7980
- name: Set up Python 3
80-
uses: actions/setup-python@v5
81+
uses: actions/setup-python@v6
8182
with:
82-
python-version: '3.9'
83+
python-version: '3.13'
8384

8485
- name: Install dependencies
8586
run: |
@@ -100,9 +101,12 @@ jobs:
100101
cp build/latex/*.pdf .
101102
- name: Push PDF to Github
102103
run: |
104+
pwd
103105
git config --local user.email "pdsen-ci@jpl.nasa.gov"
104106
git config --local user.name "PDSEN CI Bot"
105-
git add -A ./*.pdf
107+
git status
108+
git add -A docs/*.pdf
109+
git status
106110
git commit --allow-empty -m "Auto-gen PDF by PDSEN CI Bot"
107111
108112
- name: Push changes

0 commit comments

Comments
 (0)