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 8f2e1727dd Properly persist credentials
8f2e1727dd is described below
commit 8f2e1727dd9dcb0ca208f577a49932026eb992ae
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Nov 11 23:20:57 2025 +0100
Properly persist credentials
---
.github/workflows/build.yml | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5270838035..b7bcd1f015 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -60,10 +60,8 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #
v4.2.2
with:
submodules: recursive
- lfs: true
fetch-depth: 1
- # We will push to the publish branch
- persist-credentials: true
+ persist-credentials: false
- name: 📁Create /mnt/airflow-site directory
run: sudo mkdir -p /mnt/airflow-site
- name: 📁Move repository to /mnt
@@ -108,11 +106,12 @@ jobs:
ref: ${{ env.PUBLISH_BRANCH }}
fetch-depth: 1
path: dist
- persist-credentials: false
+ set-safe-directory: 'true'
+ # We will push to the publish branch
+ persist-credentials: true
- name: 🔧 Build site
run: |
/mnt/airflow-site/site.sh build-site
-
- name: ☁ nstall AWS CLI v2
if: env.PROD_PUBLISH_REQUIRED != 'false' ||
env.STAGING_PUBLISH_REQUIRED != 'false'
run: |