You can now find the published action here and the repository here.
This action builds documentation for a Fortran project using FORD. The documentation can then be deployed using an action such as GitHub Page.
Required Name of the FORD project file (default project-file.md)
Path to the directory where documentation is written
name: Docs
on: push
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build
id: build
uses: JimMadge/ford-action@v1
- name: Deploy
if: success()
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: gh-pages
build_dir: ${{ steps.build.outputs.output_dir }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}