Working on search, need new helper file

This commit is contained in:
3eef8a28f26fb2bcc514e6f1938929a1f931762 2023-02-10 20:43:13 -05:00
parent 7561120cf3
commit cbbc371e97

View file

@ -98,19 +98,21 @@ jobs:
- name: Run the HTML generator
run: |
# Usage: GenerateHtml <terms_offered_file> <prerequisites_file> <list_of_terms_file> <catalog_file> <out_directory> <searchable_catalog_file>
# Usage: GenerateHtml <terms_offered_file> <prerequisites_file> <list_of_terms_file> <catalog_file> <out_directory> <searchable_catalog_file> <courses_list_file>
quatalog-scraping/bin/GenerateHtml \
new-data/terms_offered.json \
new-data/prerequisites.json \
new-data/terms_list.json \
new-data/catalog.json \
courses/ \
searchable_catalog.json
searchable_catalog.json \
courses_list.json
- name: Merge data
run: |
rsync -avz courses/ quatalog-site/courses/
rsync -avz searchable_catalog.json quatalog-site/searchable_catalog.json
rsync -avz courses_list.json quatalog-site/courses_list.json
- name: Push generated HTML
working-directory: quatalog-site