diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 80b5388..d7e615d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,7 +41,7 @@ jobs: - name: Modify file run: | # Use sed to replace the bucketKey value in the file with the ARTIFACT_NAME - sed -i "s/bucketKey:.*/bucketKey: lambda-processor-app\/artifacts\/${{ env.ARTIFACT_NAME }}/g" claim/sqs-lambda-s3-claim.yaml + sed -i "s/bucketKey:.*/bucketKey: lambda-processor-app\/artifacts\/$GITHUB_REF_NAME\/${{ env.ARTIFACT_NAME }}/g" claim/sqs-lambda-s3-claim.yaml - name: Commit & Push changes uses: actions-js/push@v1.4