-
Notifications
You must be signed in to change notification settings - Fork 18
48 lines (42 loc) · 1.34 KB
/
docs.yml
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
46
47
48
name: docs
on:
push:
branches:
- main
tags:
- v*
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and Deploy Docs
uses: ./.github/actions/deploy-ford-docs
with:
# Due to a bug in ford, for now we do *not* want to use
# the full path to the ford input file. Rather, the
# action will cd into docs/Ford and then run ford
# relative path to the ford input file.
ford-input: docs-with-remote-esmf.md
doc-folder: docs/Ford/doc
token: ${{ secrets.GITHUB_TOKEN }}
build-and-deploy-dev-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and Deploy Dev Docs
uses: ./.github/actions/deploy-ford-docs
with:
# Due to a bug in ford, for now we do *not* want to use
# the full path to the ford input file. Rather, the
# action will cd into docs/Ford and then run ford
# relative path to the ford input file.
ford-input: docs-with-remote-esmf.public_private_protected.md
doc-folder: docs/Ford/dev-doc
token: ${{ secrets.GITHUB_TOKEN }}
target-folder: dev-doc