From 57f7c88921a2d6f53c2a79b454ea7c241a0d153e Mon Sep 17 00:00:00 2001 From: 3eef8a28f26fb2bcc514e6f1938929a1f931762 <116031952+3eef8a28f26fb2bcc514e6f1938929a1f931762@users.noreply.github.com> Date: Tue, 7 Feb 2023 10:29:34 -0500 Subject: [PATCH] Update scraper.yml --- .github/workflows/scraper.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/scraper.yml b/.github/workflows/scraper.yml index c106423..1512d8a 100644 --- a/.github/workflows/scraper.yml +++ b/.github/workflows/scraper.yml @@ -36,14 +36,14 @@ jobs: - name: Copy `catalog.json` from QuACS data run: | - CURRENT_TERM="$(grep terms_list.json -e 'current_term' | cut -f4 -d '"')" - cp "./quacs-data/semester_data/$CURRENT_TERM/catalog.json" ./quatalog-data/catalog.json + CURRENT_TERM="$(grep quatalog-data/terms_list.json -e 'current_term' | cut -f4 -d '"')" + cp "quacs-data/semester_data/$CURRENT_TERM/catalog.json" quatalog-data/catalog.json - name: Push new data env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - cd ./quatalog-data + cd quatalog-data git config --global user.name "Quatalog Updater" git config --global user.email "github_actions@quatalog.com" git config --unset-all http.https://github.com/.extraheader