Merge pull request #2382 from GEOS-ESM/feature/JK/docs #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docs | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
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: | |
ford-input: docs/Ford/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: | |
ford-input: docs/Ford/docs-with-remote-esmf.public_private_protected.md | |
doc-folder: docs/Ford/dev-doc | |
token: ${{ secrets.GITHUB_TOKEN }} | |
target-folder: dev-doc |