See previous commit

This commit is contained in:
powe97 2024-03-02 19:08:06 -05:00 committed by GitHub
parent 58e509d1bb
commit 57d9f5dc4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,9 @@ jobs:
- name: Scrape transfer guide - name: Scrape transfer guide
run: | run: |
mkdir new-data mkdir new-data
rsync -avzh --stats 'data/transfer.json data/transfer_state.json' new-data rsync -avzh --stats 'data/transfer.json' 'new-data'
rsync -azvh --stats 'data/transfer_state.json' 'new-data'
echo
python3 quatalog-scraping/transfer_scraper/main.py new-data/transfer.json new-data/transfer_state.json ${{ github.event.inputs.timeout || env.DEFAULT_TIMEOUT }} 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 - name: Upload data to artifact
@ -82,7 +84,8 @@ jobs:
- name: Copy data to repo directory - name: Copy data to repo directory
run: | run: |
ls -lsa data ls -lsa data
rsync -avzh --stats 'data/transfer.json data/transfer_state.json' quatalog-data rsync -avzh --stats 'data/transfer.json' 'quatalog-data'
rsync -azvh --stats 'data/transfer_state.json' 'quatalog-data'
- name: Push new data - name: Push new data
working-directory: quatalog-data working-directory: quatalog-data