Debian Codegraph @

.github/workflows/docs.yml

raw
1 name: docs
2
3 on: [push, pull_request]
4
5 jobs:
6 build-and-deploy:
7 runs-on: ubuntu-latest
8 steps:
9 - uses: actions/checkout@v6
10 - uses: actions/setup-python@v6
11 with:
12 python-version: '3.x'
13 - name: Install dependencies
14 run: pip install ford
15 - name: Build Documentation
16 run: ford docs.md
17 - uses: JamesIves/[email protected]
18 if: github.event_name == 'push' && github.repository == 'fortran-lang/fpm' && ( startsWith( github.ref, 'refs/tags/' ) || github.ref == 'refs/heads/main' )
19 with:
20 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 BRANCH: gh-pages
22 FOLDER: fpm-doc
23 CLEAN: true
24