(airflow-site) branch main updated: Fix Github typo

2025-05-12 Thread potiuk
This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
 new 53a87457f1 Fix Github typo
53a87457f1 is described below

commit 53a87457f1789f317fefc3ce140071a866f98c5f
Author: Jarek Potiuk 
AuthorDate: Tue May 13 00:38:02 2025 +0200

Fix Github typo
---
 .github/workflows/build.yml | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 083b0d9b32..b86b5587f6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -140,6 +140,13 @@ jobs:
   path: './dist'
   if-no-files-found: error
   retention-days: 14
+  - name: Replace cloudfront url for staging branch
+run: |
+  sed -i 
's/d7fnmbhf26p21.cloudfront.net/d3a2du7x0n8ydr.cloudfront.net' .htaccess
+  echo "Updated .htaccess"
+  cat .htaccess
+working-directory: ./dist
+if: github.ref == 'refs/heads/staging'
   - name: 👷 Copy .asf.yaml to /dist/
 if: github.event_name == 'push' || github.event_name == 
'workflow_dispatch'
 run: |



(airflow-site) branch main updated: Fix Github typo

2025-05-12 Thread potiuk
This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
 new 06fdd2690b Fix Github typo
06fdd2690b is described below

commit 06fdd2690b900a7d2ef9dbc38d307a8b43d8ee16
Author: Jarek Potiuk 
AuthorDate: Tue May 13 00:38:02 2025 +0200

Fix Github typo
---
 .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 580e3df0a9..083b0d9b32 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -158,7 +158,7 @@ jobs:
   - name: 🚀 Add commit to publish branch and deploy it
 if: >
   github.event_name == 'push' || github.event_name == 
'workflow_dispatch' &&
-  github.repository == 'apache/airflow-site' && (gihub.ref == 
'refs/heads/main' || github.ref == 'refs/heads/staging')
+  github.repository == 'apache/airflow-site' && (github.ref == 
'refs/heads/main' || github.ref == 'refs/heads/staging')
 working-directory: dist
 run: |
   echo "Running git config"