mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-08 08:04:24 +00:00
Update scraper.yml
This commit is contained in:
parent
fdfe566941
commit
27727b1a00
6
.github/workflows/scraper.yml
vendored
6
.github/workflows/scraper.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue