This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch run-scripts-from-current-version
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 9c4efd1a7bba5c2806f1220340d2e8a993df8628
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Feb 17 00:17:31 2026 +0100

    Publish docs to s3 uses current version of workflows/scripts
    
    In case we built docs for past version of airflow we checkout
    both - current (main) version of code to use latest environment
    and tag version of code to build the documentation. The workflow
    mixed sub-workflows and run them from the "tag" version of workflow
    rather than from current.
    
    This PR fixes it.
---
 .github/workflows/publish-docs-to-s3.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/publish-docs-to-s3.yml 
b/.github/workflows/publish-docs-to-s3.yml
index 2f5f30b07bc..b1f3d2e1acf 100644
--- a/.github/workflows/publish-docs-to-s3.yml
+++ b/.github/workflows/publish-docs-to-s3.yml
@@ -194,11 +194,11 @@ jobs:
           fetch-tags: true
       - name: "Free up disk space"
         shell: bash
-        run: ./scripts/tools/free_up_disk_space.sh
+        run: ./current-version/scripts/tools/free_up_disk_space.sh
       - name: "Make /mnt writeable"
-        run: ./scripts/ci/make_mnt_writeable.sh
+        run: ./current-version/scripts/ci/make_mnt_writeable.sh
       - name: "Move docker to /mnt"
-        run: ./scripts/ci/move_docker_to_mnt.sh
+        run: ./current-version/scripts/ci/move_docker_to_mnt.sh
       - name: "Apply patch commits if provided"
         run: |
           if [[ "${APPLY_COMMITS}" != "" ]]; then
@@ -216,7 +216,7 @@ jobs:
             echo "No commits provided to apply, skipping."
           fi
       - name: "Install Breeze from the ${{ inputs.ref }} reference"
-        uses: ./.github/actions/breeze
+        uses: ./current-version/.github/actions/breeze
         with:
           python-version: "${{ needs.build-info.outputs.default-python-version 
}}"
       - name: "Building image from the ${{ inputs.ref }} reference"
@@ -248,7 +248,6 @@ jobs:
           persist-credentials: false
           fetch-depth: 0
           fetch-tags: true
-          path: current-version
         if: inputs.build-sboms
       - name: "Reinstall breeze from the current version"
         run: |

Reply via email to