This is an automated email from the ASF dual-hosted git repository.
gopidesu pushed a commit to branch fix-nospace
in repository https://gitbox.apache.org/repos/asf/airflow-site-archive.git
The following commit(s) were added to refs/heads/fix-nospace by this push:
new 757c7abb26 Update workflow to use mount dir
757c7abb26 is described below
commit 757c7abb26e9cb408bb1e4cf7a40b7e94c9eb375
Author: Pavan Kumar <[email protected]>
AuthorDate: Fri May 2 08:03:11 2025 +0100
Update workflow to use mount dir
---
.github/workflows/github-to-s3.yml | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/github-to-s3.yml
b/.github/workflows/github-to-s3.yml
index 64eb7186fb..859bf07d92 100644
--- a/.github/workflows/github-to-s3.yml
+++ b/.github/workflows/github-to-s3.yml
@@ -78,12 +78,18 @@ jobs:
- name: Create /mnt/airflow-site-archive directory
run: sudo mkdir -p /mnt/airflow-site-archive
+# - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
+# uses: actions/checkout@v4
+# with:
+# lfs: true
+# fetch-depth: 2 # We need to fetch 2 commits to get it work with
last_commit sync type
+# path: /mnt/airflow-site-archive
+
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
- uses: actions/checkout@v4
- with:
- lfs: true
- fetch-depth: 2 # We need to fetch 2 commits to get it work with
last_commit sync type
- path: /mnt/airflow-site-archive
+ run: |
+ git clone --depth 2
https://github.com/apache/airflow-site-archive.git /mnt/airflow-site-archive
+ cd /mnt/airflow-site-archive && git checkout ${{ github.ref }}
+
- name: "Syncing ${{ github.ref }} ( ${{ github.sha }} )"
env: