Merge pull request #157 from rosiealice/fco2_fix #13
Workflow file for this run
This file contains hidden or 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
| # 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 |