From f1675e9234f0095ac06bd1e94a602869fb37fd18 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 7 Jan 2024 06:25:16 -0500 Subject: [PATCH] Fix yaml hopefully --- .github/workflows/pkg-platform.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pkg-platform.yml b/.github/workflows/pkg-platform.yml index 627dea81..b38fa7f1 100644 --- a/.github/workflows/pkg-platform.yml +++ b/.github/workflows/pkg-platform.yml @@ -175,14 +175,14 @@ jobs: env: URL: s3://${{ secrets.AWS_S3_BUCKET }}/${{ env.PREFIX }} id: put - if: !inputs.dry-run + if: inputs.dry-run != true - name: invalidate cloudfront run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_CF_DISTRIBUTION_ID }} --paths ${{ steps.put.outputs.cf-paths }} - if: !inputs.dry-run && inputs.invalidate-cloudfront + if: inputs.invalidate-cloudfront && !inputs.dry-run publish: name: publish ${{inputs.tinyname}} ${{ inputs.dry-run && '(dry-run)' }} @@ -218,7 +218,7 @@ jobs: - name: s3 put run: aws s3 cp versions.txt s3://${{ secrets.AWS_S3_BUCKET }}/$DIRNAME/versions.txt - if: !inputs.dry-run + if: inputs.dry-run != true - name: invalidate cloudfront run: aws cloudfront create-invalidation