diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index db03ebb4a..5b1407296 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -114,7 +114,7 @@ jobs: deploy-docs: needs: build-docs name: Deploy Docs - if: ${{ env.BUILD_PDF == 'true' && env.DEPLOY == 'true' }} + if: ${{ needs.build-docs.outputs.BUILD_PDF == 'true' && needs.build-docs.outputs.DEPLOY == 'true' }} runs-on: ${{ github.repository_owner == 'cFS' && 'linux' || 'ubuntu-latest' }} steps: