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-archive.git


The following commit(s) were added to refs/heads/main by this push:
     new 728a0b9051 Change cloned dir path to cloned-airflow-site-archive
728a0b9051 is described below

commit 728a0b9051f82884b83f8c59e3cfa399c87d851b
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Thu May 8 14:06:04 2025 +0200

    Change cloned dir path to cloned-airflow-site-archive
---
 .github/workflows/s3-to-github.yml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/s3-to-github.yml 
b/.github/workflows/s3-to-github.yml
index 028e9eabda..0c0e0d56d2 100644
--- a/.github/workflows/s3-to-github.yml
+++ b/.github/workflows/s3-to-github.yml
@@ -60,17 +60,17 @@ jobs:
           aws-secret-access-key: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY }}
           aws-region: us-east-2
 
-      - name: Create /mnt/archive-dir directory
+      - name: Create /mnt/cloned-airflow-site-archive directory
         run: |
-          sudo mkdir -pv /mnt/archive-dir && sudo chown -R "${USER}" 
/mnt/archive-dir
-          ln -sv /mnt/archive-dir archive-dir
+          sudo mkdir -pv /mnt/cloned-airflow-site-archive && sudo chown -R 
"${USER}" /mnt/cloned-airflow-site-archive
+          ln -sv /mnt/cloned-airflow-site-archive cloned-airflow-site-archive
 
       - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
         uses: actions/checkout@v4
         with:
           # we want to persist credentials so that we can push back the changes
           persist-credentials: true
-          path: archive-dir
+          path: cloned-airflow-site-archive
 
       - name: "Check space available"
         run: df -h
@@ -79,7 +79,7 @@ jobs:
         run: |
           python3 -m pip install uv
           uv run ./scripts/s3_to_github.py --bucket-path 
${{inputs.source-location}} --local-path ${{inputs.local-destination}} 
--document-folder ${{inputs.document-folder}}
-        working-directory: /mnt/archive-dir/airflow-site-archive
+        working-directory: /mnt/cloned-airflow-site-archive
 
       - name: Commiting changes
         run: |
@@ -91,4 +91,4 @@ jobs:
           echo "Running git commit"
           git commit -m "Sync S3 to GitHub" || echo "No changes to commit"
           git push --force origin main
-        working-directory: /mnt/archive-dir/airflow-site-archive
+        working-directory: /mnt/cloned-airflow-site-archive

Reply via email to