From 554d07a31b027613a41f23dec586b2c684d91a59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20M=C5=82odzikowski?= Date: Fri, 14 Apr 2023 15:00:20 +0200 Subject: [PATCH] feat(ci): fix regressions detected after merging to develop (#3442) --- .github/workflows/ci-cd-trigger.yml | 1 + .github/workflows/publish-dist.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd-trigger.yml b/.github/workflows/ci-cd-trigger.yml index c5e7733be..368f3f822 100644 --- a/.github/workflows/ci-cd-trigger.yml +++ b/.github/workflows/ci-cd-trigger.yml @@ -44,6 +44,7 @@ jobs: lint-pr-title: needs: node-modules + if: ${{ github.event_name == 'pull_request' }} name: Verify PR title uses: ./.github/workflows/lint-pr.yml secrets: inherit diff --git a/.github/workflows/publish-dist.yml b/.github/workflows/publish-dist.yml index 4d8e270bc..ed31e61b7 100644 --- a/.github/workflows/publish-dist.yml +++ b/.github/workflows/publish-dist.yml @@ -150,7 +150,7 @@ jobs: with: args: --acl private --follow-symlinks --delete env: - AWS_S3_BUCKET: ${{ steps.tags.outputs.bucketName }} + AWS_S3_BUCKET: ${{ env.BUCKET_NAME }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_REGION: 'eu-west-1'