File tree Expand file tree Collapse file tree 7 files changed +23
-17
lines changed Expand file tree Collapse file tree 7 files changed +23
-17
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ jobs:
2222
2323 steps :
2424 - name : Checkout page source
25- uses : actions/checkout@v4
25+ uses : actions/checkout@v5
2626
2727 - name : Setup Python
28- uses : actions/setup-python@v5
28+ uses : actions/setup-python@v6
2929 with :
3030 python-version : " 3.11"
3131
3232 - name : Setup Fortran compiler
33- uses : fortran-lang/setup-fortran@v1.7 .0
33+ uses : fortran-lang/setup-fortran@v1.8 .0
3434 id : setup-fortran
3535 with :
3636 compiler : gcc
Original file line number Diff line number Diff line change @@ -15,13 +15,19 @@ jobs:
1515
1616 steps :
1717 - name : Checkout gh-pages
18- uses : actions/checkout@v4
18+ uses : actions/checkout@v5
1919 with :
2020 ref : gh-pages
2121
2222 - name : Iterate and Check PRs
2323 id : pr_check
2424 run : |
25+ # Exit early if 'pr/' directory does not exist
26+ if [ ! -d "pr" ]; then
27+ echo "No 'pr/' directory found. Skipping PR check."
28+ exit 0
29+ fi
30+
2531 # Get the list of PR folders inside 'pr/' (e.g., pr/123, pr/456)
2632 pr_folders=($(find pr -mindepth 1 -maxdepth 1 -type d -printf "%f\n"))
2733 closed_pr=()
4248 done
4349
4450 # Store closed PRs in GITHUB_STATE for later use
45- echo "${closed_pr[*]}" >> "$GITHUB_STATE"
51+ # echo "${closed_pr[*]}" >> "$GITHUB_STATE"
4652
4753 - name : Commit and push to gh-pages
4854
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ jobs:
1414
1515 steps :
1616 - name : checkout source
17- uses : actions/checkout@v4
17+ uses : actions/checkout@v5
1818
1919 - name : Setup Python
20- uses : actions/setup-python@v5
20+ uses : actions/setup-python@v6
2121
2222 - name : Install python libraries
2323 run : pip3 install --user -r requirements.txt
Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ jobs:
1515
1616 steps :
1717 - name : Checkout pr/${{github.event.issue.number}}
18- uses : actions/checkout@v4
18+ uses : actions/checkout@v5
1919
2020 - name : Fetch pr/${{github.event.issue.number}}
2121 run : |
2222 git fetch origin pull/${{github.event.issue.number}}/head:pr-${{github.event.issue.number}}
2323 git checkout pr-${{github.event.issue.number}}
2424
2525 - name : Setup Python
26- uses : actions/setup-python@v5
26+ uses : actions/setup-python@v6
2727 with :
2828 python-version : " 3.11"
2929
5555 git-config-name : Fortran
5656
5757 - name : Comment on pull request
58- uses : peter-evans/create-or-update-comment@v4
58+ uses : peter-evans/create-or-update-comment@v5
5959 with :
6060 issue-number : ${{github.event.issue.number}}
6161 body : " This PR has been built with Sphinx and can be previewed at: https://fortran-lang.github.io/webpage/pr/${{github.event.issue.number}}"
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ sphinx_design==0.6.1
66sphinx_copybutton == 0.5.2
77sphinx-jinja == 2.0.2
88jinja2 == 3.1.6
9- requests == 2.32.3
10- black == 25.1 .0
11- pylint == 3.3.7
12- pre-commit == 4.2 .0
13- sphinx-sitemap == 2.6 .0
9+ requests == 2.32.5
10+ black == 25.9 .0
11+ pylint == 4.0.0
12+ pre-commit == 4.3 .0
13+ sphinx-sitemap == 2.9 .0
1414sphinx-favicon == 1.0.1
Original file line number Diff line number Diff line change @@ -95,4 +95,4 @@ i.fa-rss:before {
9595
9696i .fa-envelope-open-text : before {
9797 color : # 734f96 ;
98- }
98+ }
Original file line number Diff line number Diff line change 145145 "navbar_align" : "right" ,
146146 "navbar_start" : ["navbar-logo" ,"theme-switcher.html" ],
147147 "switcher" : {
148- "json_url" : "_static/data.json" , # shifted to custom local switcher
148+ "json_url" : "https://fortran-lang.org/ _static/data.json" , # shifted to custom local switcher
149149 "version_match" : language ,
150150 },
151151 "primary_sidebar_end" : [],
You can’t perform that action at this time.
0 commit comments