This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/staging by this push:
new d5cd8f28aa Add cloudfront to aws cli command
d5cd8f28aa is described below
commit d5cd8f28aa40830ef5e483b1617d6440560d0db1
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Jul 4 17:27:57 2025 +0200
Add cloudfront to aws cli command
---
.github/workflows/build.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index bdd0a75b37..ae4bba9b25 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -127,7 +127,7 @@ jobs:
run: |
aws s3 cp ./dist/docs/index.html
s3://${S3_DOCS_BUCKET}/docs/index.html
aws s3 cp ./dist/docs/index.xml s3://${S3_DOCS_BUCKET}/docs/index.xml
- aws create-invalidation --distribution-id
${CLOUDFRONT_DISTRIBUTION_ID} --paths "/docs/index.html"
+ aws cloudfront create-invalidation --distribution-id
${CLOUDFRONT_DISTRIBUTION_ID} --paths "/docs/index.html"
- name: 🐅 Optimize artifacts
if: ${{ github.event_name == 'pull_request' }}
run: |