You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/05/08 11:37:43 UTC
(airflow-site-archive) 01/01: Fix S3 to GitHub
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch fix-workflow-s3-to-github
in repository https://gitbox.apache.org/repos/asf/airflow-site-archive.git
commit fe19743c8a6bbd0b9d1de1cd9571f8522d4b23e7
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Thu May 8 13:36:50 2025 +0200
Fix S3 to GitHub
---
.github/workflows/s3-to-github.yml | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/s3-to-github.yml b/.github/workflows/s3-to-github.yml
index d09d1a2aab..e93a8ca922 100644
--- a/.github/workflows/s3-to-github.yml
+++ b/.github/workflows/s3-to-github.yml
@@ -68,11 +68,16 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Create /mnt/airflow-site-archive directory
- run: sudo mkdir -p /mnt/airflow-site-archive && sudo chown -R "${USER}" /mnt/airflow-site-archive
+ run: |
+ sudo mkdir -p /mnt/airflow-site-archive && sudo chown -R "${USER}" /mnt/airflow-site-archive
+ ln -s /mnt/airflow-site-archive /airflow-site-archive
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
- run: |
- git clone --depth 1 https://github.com/apache/airflow-site-archive.git /mnt/airflow-site-archive
+ uses: actions/checkout@v4
+ with:
+ # we want to persist credentials so that we can push back the changes
+ persist-credentials: true
+ directory: airflow-site-archive
- name: "Check space available"
run: df -h
@@ -93,4 +98,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/airflow-site-archive
\ No newline at end of file
+ working-directory: /mnt/airflow-site-archive