-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added FORD documentation gh-pages workflow
- Loading branch information
Showing
2 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: FORD | ||
|
||
on: | ||
push: | ||
branches: [ "docs" ] | ||
pull_request: | ||
branches: [ "docs" ] | ||
|
||
jobs: | ||
documentation: | ||
runs-on: ${{ matrix.os }} | ||
permissions: | ||
contents: write | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: [3.12] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Setup Graphviz | ||
uses: ts-graphviz/setup-graphviz@v1 | ||
|
||
- name: Install FORD | ||
if: contains( matrix.os, 'ubuntu' ) | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install ford | ||
- name: Build FORD documentation | ||
run: ford ./ford.md | ||
|
||
- name: Deploy documentation | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: doc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ NILU/Not_used | |
*.i90 | ||
*.i | ||
uEMEPv* | ||
ford* | ||
|
||
# Build directories and files | ||
debug/ | ||
|