diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 0fd9cbc..cff3e14 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -16,4 +16,11 @@ jobs: AWS_S3_BUCKET: ${{ secrets.DOCS_PRODUCTION_AWS_S3_BUCKET }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - SOURCE_DIR: 'docs/build' \ No newline at end of file + SOURCE_DIR: 'docs/build' + - uses: chetan/invalidate-cloudfront-action@v2 + env: + PATHS: "/index.html" + AWS_REGION: "us-east-1" + DISTRIBUTION: ${{ secrets.DOCS_PRODUCTION_AWS_CLOUDFRONT_DISTRIBUTION }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} \ No newline at end of file