Skip to content

Commit

Permalink
ARCH-2142 - Condition fix in reusable publish workflow
Browse files Browse the repository at this point in the history
Tweak the if condition in reusable publish-techdocs-site job.  Treat as bool not string.
  • Loading branch information
danielle-casella-adams committed Sep 12, 2024
1 parent 933a05b commit 3af24ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/im-reusable-publish-techdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
run: techdocs-cli publish --publisher-type azureBlobStorage --azureAccountName ${{ env.ACCOUNT_NAME }} --storage-name ${{ env.UAT_CONTAINER }} --entity ${{ inputs.entity-name }}

- name: Publish TechDocs Site to ${{ env.PROD_CONTAINER }} Container
if: ${{ inputs.is-production-ready == 'true' }}
if: inputs.is-production-ready == 'true' || inputs.is-production-ready == true
run: techdocs-cli publish --publisher-type azureBlobStorage --azureAccountName ${{ env.ACCOUNT_NAME }} --storage-name ${{ env.PROD_CONTAINER }} --entity ${{ inputs.entity-name }}

- name: Azure logout
Expand Down

0 comments on commit 3af24ee

Please sign in to comment.