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 d573a06c9d Fix S3 to GitHub (#9)
d573a06c9d is described below
commit d573a06c9da678e3c8d0436e970a4768c4bce88b
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu May 8 13:47:41 2025 +0200
Fix S3 to GitHub (#9)
---
.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..0c12e096dc 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