hp/.github/workflows/docs.yml

24 lines
585 B
YAML
Raw Normal View History

2023-06-09 23:25:34 +00:00
name: FORD docs deployed to gh-pages
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 ford
- name: Build Documentation
run: ford ford.md
- uses: JamesIves/github-pages-deploy-action@3.7.1
if: github.event_name == 'push'
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/fpm-ford
CLEAN: true