Skip to content

Merge pull request #157 from rosiealice/fco2_fix #13

Merge pull request #157 from rosiealice/fco2_fix

Merge pull request #157 from rosiealice/fco2_fix #13

# Modified from https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#publishing-a-package-using-an-action (last accessed 2025-05-09)
name: Test building ctsm-docs Docker image and using it to build the docs
# Configures this workflow to run every time a change in the Docker container setup is pushed to the master branch
on:
push:
paths:
- 'doc/ctsm-docs_container/**'
- '.github/workflows/docker-image-ctsm-docs-build.yml'
- '.github/workflows/docker-image-build-common.yml'
pull_request:
paths:
- 'doc/ctsm-docs_container/**'
- '.github/workflows/docker-image-ctsm-docs-build.yml'
- '.github/workflows/docker-image-build-common.yml'
workflow_dispatch:
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs:
build-image-and-test-docs:
name: Build image and test docs
uses: ./.github/workflows/docker-image-common.yml
secrets: inherit