diff --git a/.github/workflows/main-deploy.yml b/.github/workflows/main-deploy.yml index 9c1d758..a7514ff 100644 --- a/.github/workflows/main-deploy.yml +++ b/.github/workflows/main-deploy.yml @@ -43,4 +43,4 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_REGION: ${{ secrets.AWS_REGION }} - name: Invalidate CloudFront Cache - run: aws cloudfront create-invalidation --distribution-id ${{secrets.AWS_DISTRIBUTION_ID}} --paths "/*" + run: aws cloudfront create-invalidation --distribution-id ${{secrets.AWS_MAIN_DISTRIBUTION_ID}} --paths "/*"