From c508798f2021f1df32de49a62ae06d486feefa77 Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Sat, 2 Mar 2024 01:41:43 -0500 Subject: [PATCH 1/2] Create courses dir if it doesn't already exist --- .github/workflows/scraper.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/scraper.yml b/.github/workflows/scraper.yml index d64151a..b15e21c 100644 --- a/.github/workflows/scraper.yml +++ b/.github/workflows/scraper.yml @@ -110,6 +110,7 @@ jobs: - name: Merge data run: | + mkdir -p quatalog-site/courses rsync -avz courses/ quatalog-site/courses/ rsync -avz searchable_catalog.json quatalog-site/json/searchable_catalog.json rsync -avz courses_list.json quatalog-site/json/courses_list.json From d5f58d8576f836a97aa3e4db2b463ac1a9e6d60b Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Sat, 2 Mar 2024 01:44:28 -0500 Subject: [PATCH 2/2] Create json dir if it doesn't already exist --- .github/workflows/scraper.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scraper.yml b/.github/workflows/scraper.yml index b15e21c..397e36e 100644 --- a/.github/workflows/scraper.yml +++ b/.github/workflows/scraper.yml @@ -110,7 +110,7 @@ jobs: - name: Merge data run: | - mkdir -p quatalog-site/courses + mkdir -p quatalog-site/courses quatalog-site/json rsync -avz courses/ quatalog-site/courses/ rsync -avz searchable_catalog.json quatalog-site/json/searchable_catalog.json rsync -avz courses_list.json quatalog-site/json/courses_list.json