Skip to content

feat(network_configuration): add type & JSON I/O #377

feat(network_configuration): add type & JSON I/O

feat(network_configuration): add type & JSON I/O #377

Workflow file for this run

name: Build and Deploy Documentation
on: [push, pull_request]
jobs:
Build:
runs-on: ubuntu-22.04
env:
FC: gfortran
GCC_V: 12
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Dependencies Ubuntu
run: |
sudo apt-get update
sudo apt install -y gfortran-${GCC_V} python3-dev python3 build-essential graphviz
sudo pip install ford markdown==3.3.4
- name: Build Developer Documenation
run: |
# Turn warnings into errors
ford ford.md > ford_output.txt
cat ford_output.txt; if grep -q -i Warning ford_output.txt; then exit 1; fi
cp ./README.md ./doc/html
- name: Upload Documentation
uses: actions/upload-artifact@v2
with:
name: documentation
path: doc/html
if-no-files-found: error
- name: Broken Link Check
if: ${{ github.ref == 'refs/heads/main'}}
uses: technote-space/broken-link-checker-action@v1
with:
TARGET: file://${{ github.workspace }}/doc/html/index.html
RECURSIVE: true
ASSIGNEES: ${{ github.actor }}
- name: Deploy API Documentation
uses: JamesIves/github-pages-deploy-action@4.1.0
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
branch: gh-pages
folder: doc/html