From 58e509d1bb201e2f3d7eb285a13acd15fb089324 Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Sat, 2 Mar 2024 18:35:44 -0500 Subject: [PATCH] Clean up and potentially fix rsync --- .github/workflows/transfer.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/transfer.yml b/.github/workflows/transfer.yml index 7effa1a..486a05b 100644 --- a/.github/workflows/transfer.yml +++ b/.github/workflows/transfer.yml @@ -52,8 +52,7 @@ jobs: - name: Scrape transfer guide run: | mkdir new-data - rsync -avzh data/transfer.json new-data - rsync -avzh data/transfer_state.json new-data + rsync -avzh --stats 'data/transfer.json data/transfer_state.json' new-data python3 quatalog-scraping/transfer_scraper/main.py new-data/transfer.json new-data/transfer_state.json ${{ github.event.inputs.timeout || env.DEFAULT_TIMEOUT }} - name: Upload data to artifact @@ -83,7 +82,7 @@ jobs: - name: Copy data to repo directory run: | ls -lsa data - rsync -avzh data/ quatalog-data/ + rsync -avzh --stats 'data/transfer.json data/transfer_state.json' quatalog-data - name: Push new data working-directory: quatalog-data