Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/mapl3docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: "Build MAPL3 Documentation"

on:
push:
branches:
- release/MAPL-v3
workflow_dispatch:

permissions:
contents: write

jobs:
build-and-deploy-mapl3-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
filter: blob:none
persist-credentials: false

- 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: mapl3docs-with-remote-esmf.md
doc-folder: docs/Ford/mapl3-doc
target-folder: mapl3-doc
deploy-token: ${{ secrets.DOCS_DEPLOY_PAT }}

##############################################################################
# build-and-deploy-mapl3-dev-docs: #
# runs-on: ubuntu-latest #
# steps: #
# - name: Checkout #
# uses: actions/checkout@v6 #
# with: #
# fetch-depth: 0 #
# filter: blob:none #
# persist-credentials: false #
# #
# - 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: mapl3docs-with-remote-esmf.public_private_protected.md #
# doc-folder: docs/Ford/mapl3-dev-doc #
# target-folder: mapl3-dev-doc #
# deploy-token: ${{ secrets.DOCS_DEPLOY_PAT }} #
##############################################################################
Loading