Skip to content

Commit

Permalink
Update build-documentation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arielswalker authored Sep 9, 2024
1 parent 193579a commit ff20279
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
env:
CACHE_KEY: "cfs-doc-${{ github.run_number }}"
DEPLOY: "false"
BUILD_PDF: ${{ matrix.target == 'cfe-usersguide' && (github.event_name == 'push' && contains(github.ref, 'main')) || 'false' }}
APP_NAME: ""
NEEDS_OSAL_API: "true"

Expand All @@ -71,6 +70,10 @@ jobs:
with:
path: /home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/*
key: ${{ env.CACHE_KEY }}

- name: Set Build PDF Variable
id: set-build-pdf
run: echo "BUILD_PDF=${{ matrix.target == 'cfe-usersguide' && github.event_name == 'push' && contains(github.ref, 'main') || 'false' }}" >> $GITHUB_ENV

- name: Run Build Document Script
run: |
Expand Down

0 comments on commit ff20279

Please sign in to comment.