Skip to content

Merge pull request #46 from fortran-lang/auto-discovery #78

Merge pull request #46 from fortran-lang/auto-discovery

Merge pull request #46 from fortran-lang/auto-discovery #78

name: doc-deployment
on: [push, pull_request]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: pip install -v ford==6.1.17
- name: Build Documentation
run: ford API-doc-FORD-file.md
- uses: JamesIves/github-pages-deploy-action@3.7.1
if: github.event_name == 'push' && github.repository == 'fortran-lang/fftpack' && ( startsWith( github.ref, 'refs/tags/' ) || github.ref == 'refs/heads/main' )
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: API-doc
CLEAN: true