Clean up and potentially fix rsync

This commit is contained in:
powe97 2024-03-02 18:35:44 -05:00 committed by GitHub
parent c3e0d558d7
commit 58e509d1bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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