Skip to content

Commit

Permalink
Fiddle with if: expression
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Jul 8, 2023
1 parent f240eb3 commit a2c69e7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,20 @@ runs:
docs-folder: ${{ steps.borg-the-docs.outputs.borged-docs-folder }}
build-command: ${{ inputs.build-html-command }}
pre-build-command: ${{ inputs.pre-build-command }}
if: ${{ inputs.build-html }}
if: ${{ inputs.build-html == 'true' }}
- uses: usnistgov/sphinx-action@master
name: Build ePUB
with:
docs-folder: ${{ steps.borg-the-docs.outputs.borged-docs-folder }}
build-command: ${{ inputs.build-epub-command }}
pre-build-command: ${{ inputs.pre-build-command }}
if: ${{ inputs.build-epub }}
if: ${{ inputs.build-epub == 'true' }}
- uses: usnistgov/sphinx-action@latexpdf
name: Build PDF
with:
docs-folder: ${{ steps.borg-the-docs.outputs.borged-docs-folder }}
pre-build-command: ${{ inputs.pre-build-command }}
if: ${{ inputs.build-pdf }}
if: ${{ inputs.build-pdf == 'true' }}
- name: Commit documentation changes
uses: usnistgov/NISTtheDocs2Death@update_pages
with:
Expand All @@ -125,6 +125,7 @@ runs:
github_token: ${{ github.token }}
# Pull requests from forked repos don't have permissions
# to push back to pages-branch
# https://github.com/orgs/community/discussions/26829
if: >-
(
github.event_name != 'pull_request'
Expand Down

0 comments on commit a2c69e7

Please sign in to comment.