diff --git a/.github/workflows/deploy-frontend-dev.yml b/.github/workflows/deploy-frontend-dev.yml index 80e4e9f8b..9ca5bb951 100644 --- a/.github/workflows/deploy-frontend-dev.yml +++ b/.github/workflows/deploy-frontend-dev.yml @@ -34,7 +34,6 @@ jobs: cd .output/server && zip canopas_website_SSR_dev_${{ github.sha }}-${{ github.run_attempt }}.zip -r . && aws s3 cp canopas_website_SSR_dev_${{ github.sha }}-${{ github.run_attempt }}.zip s3://canopas-lambda-handlers && cd ../.. aws s3 sync --cache-control 'max-age=604800' --exclude *.html ./.output/public s3://canopas-website-ssr-dev aws s3 sync ./.output/public s3://canopas-website-ssr-dev - aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID_DEV }} --paths "/sitemap.xml" - name: Deploy cloudformation stack id: canopas-website-dev-lambda-stack-frontend @@ -47,6 +46,4 @@ jobs: no-fail-on-empty-changeset: "1" parameter-overrides: >- EnvName=dev, - ZipFileName=canopas_website_SSR_dev_${{ github.sha }}-${{ github.run_attempt }}.zip, - OriginAccessControlId=${{ secrets.ORIGIN_ACCESS_CONTROL_ID }}, - OriginAccessIdentity=${{ secrets.ORIGIN_ACCESS_IDENTITY }} \ No newline at end of file + ZipFileName=canopas_website_SSR_dev_${{ github.sha }}-${{ github.run_attempt }}.zip \ No newline at end of file diff --git a/infrastructure/frontend.yml b/infrastructure/frontend.yml index 789bad19d..2985bfd25 100644 --- a/infrastructure/frontend.yml +++ b/infrastructure/frontend.yml @@ -17,12 +17,6 @@ Parameters: ZipFileName: Type: String Description: Name of the zip file. - OriginAccessControlId: - Type: String - Description: OriginAccessControl for S3 origin. - OriginAccessIdentity: - Type: String - Description: OriginAccessIdentity for S3 origin. Resources: