diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 6b58b87..e3c1de8 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -35,3 +35,8 @@ jobs: run: | aws s3 sync ./public s3://www.knoxctlwebsite.accuknox.com --delete --debug + - name: Invalidate CloudFront + uses: chetan/invalidate-cloudfront-action@v2 + env: + DISTRIBUTION: ${{ secrets.DISTRIBUTION }} + PATHS: "/*"