We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37caf65 commit 897447dCopy full SHA for 897447d
1 file changed
.github/workflows/release.yml
@@ -25,6 +25,11 @@ jobs:
25
path: docs/
26
- name: Publish to S3
27
working-directory: docs
28
+ env:
29
+ AWS_CF_DISTRIBUTION_ID: ${{ secrets.AWS_CF_DISTRIBUTION_ID }}
30
+ AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
31
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
32
+ AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
33
run: |
34
aws s3 sync --region eu-west-1 --delete . s3://diff2html.xyz --metadata-directive REPLACE --cache-control max-age=31557600
35
aws cloudfront create-invalidation --region eu-west-1 --distribution-id $AWS_CF_DISTRIBUTION_ID --paths /index.html /demo.html /sitemap.xml /robots.txt
0 commit comments