Skip to content

Commit 829e2d6

Browse files
committed
chore(workflows): update deploy-docs.yml
1 parent 658f4c6 commit 829e2d6

1 file changed

Lines changed: 6 additions & 15 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@ name: Build and Deploy Documentation
22

33
on: [push, pull_request]
44

5-
65
jobs:
76
Build:
8-
runs-on: ubuntu-latest
9-
10-
env:
11-
FC: gfortran
12-
GCC_V: 14
7+
runs-on: ubuntu-22.04
138

149
steps:
1510
- name: Checkout code
@@ -18,17 +13,13 @@ jobs:
1813
- name: Install Dependencies Ubuntu
1914
run: |
2015
sudo apt-get update
21-
sudo apt install -y gfortran-${GCC_V} python3-dev python3 build-essential numdiff graphviz
22-
sudo pip install ford markdown
23-
echo "---------"
24-
gfortran --version
25-
echo "---------"
16+
sudo apt install -y python3-dev python3 build-essential graphviz
17+
sudo python3 -m pip install ford
18+
2619
- name: Build Developer Documenation
2720
run: |
28-
# Turn warnings into errors
29-
ford ford.md > ford_output.txt
30-
cat ford_output.txt; if grep -q -i Warning ford_output.txt; then exit 1; fi
31-
cp ./README.md ./doc/html
21+
ford ford.md
22+
3223
- name: Upload Documentation
3324
uses: actions/upload-artifact@v4
3425
with:

0 commit comments

Comments
 (0)