File: deploy_api_docs.yml

package info (click to toggle)
fortran-cli2 3.2.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,852 kB
  • sloc: f90: 6,172; javascript: 3,423; makefile: 180; sh: 25
file content (45 lines) | stat: -rwxr-xr-x 1,288 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#name: Build FORD docs & deploy to gh-pages
name: FORD docs deployed to gh-pages
on:
  push:
    branches:
      - master

jobs:
  build:
    name: Deploy docs
    runs-on: ubuntu-latest
    steps:
      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: '3.x'

      - name: Install dependencies
        run: python -m pip install --upgrade pip ford

      - name: Checkout master
        uses: actions/checkout@v1

      - name: Build docs
        run: |
              ford ford.md
              ls
              tree

      - name: Deploy
        uses: JamesIves/github-pages-deploy-action@releases/v3
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          #BRANCH: gh_pages
          BRANCH: master
          FOLDER: docs/fpm-ford
          TARGET_FOLDER: docs/fpm-ford
#         ford(1) deletes the output directory before running
#         so be careful to specify a unique subdirectory in
#         your ford(1) configuration files

# valid inputs are ['SSH', 'ACCESS_TOKEN', 'GITHUB_TOKEN', 'BRANCH',
# 'FOLDER', 'TARGET_FOLDER', 'BASE_BRANCH', 'COMMIT_MESSAGE', 'CLEAN',
# 'CLEAN_EXCLUDE', 'GIT_CONFIG_NAME', 'GIT_CONFIG_EMAIL', 'REPOSITORY_NAME',
# 'WORKSPACE', 'SINGLE_COMMIT', 'LFS', 'SILENT', 'PRESERVE']