From c2fe36b88ccf9ec40bc714eda3a9a536d7368e86 Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Thu, 16 Feb 2023 21:20:04 -0500 Subject: [PATCH] Rearrange some stuff --- .github/workflows/scraper.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/scraper.yml b/.github/workflows/scraper.yml index 1b6d112..bd5a6aa 100644 --- a/.github/workflows/scraper.yml +++ b/.github/workflows/scraper.yml @@ -111,15 +111,15 @@ jobs: - 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 + rsync -avz searchable_catalog.json quatalog-site/json/searchable_catalog.json + rsync -avz courses_list.json quatalog-site/json/courses_list.json - name: Push generated HTML working-directory: quatalog-site run: | - git config --global user.name "Quatalog Updater" - git config --global user.email "github_actions@quatalog.com" - git add courses searchable_catalog.json courses_list.json + git config user.name "Quatalog Updater" + git config user.email "github_actions@quatalog.com" + git add courses json git commit -m "$(date)" || exit 0 git push