Update scraper.yml

This commit is contained in:
3eef8a28f26fb2bcc514e6f1938929a1f931762 2023-02-07 10:21:11 -05:00 committed by GitHub
parent fdfe566941
commit 27727b1a00

View file

@ -25,6 +25,8 @@ jobs:
- name: Run scraper - name: Run scraper
run: | run: |
pwd
find .
# Usage: CourseOfferingsScraper <data_directory> <terms_offered_file> <prerequisites_file> <list_of_terms_file> # Usage: CourseOfferingsScraper <data_directory> <terms_offered_file> <prerequisites_file> <list_of_terms_file>
./bin/CourseOfferingScraper \ ./bin/CourseOfferingScraper \
./quacs-data/semester_data \ ./quacs-data/semester_data \
@ -42,8 +44,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
cd ./quatalog-data cd ./quatalog-data
git config user.name "Quatalog Updater" git config --global user.name "Quatalog Updater"
git config user.email "github_actions@quatalog.com" git config --global user.email "github_actions@quatalog.com"
git config --unset-all http.https://github.com/.extraheader git config --unset-all http.https://github.com/.extraheader
git add terms_offered.json prerequisites.json terms_list.json catalog.json git add terms_offered.json prerequisites.json terms_list.json catalog.json
git commit -m "$(date)" || exit 0 git commit -m "$(date)" || exit 0