Skip to content

Commit

Permalink
Invalid CloudFront distribution when deploying production docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maurobender committed Apr 4, 2023
1 parent ab16703 commit 02d7c0a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
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 }}

0 comments on commit 02d7c0a

Please sign in to comment.