From 18ccae5fa717e436b001c1038e4e9a0ca0765832 Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Thu, 27 Jul 2023 23:58:34 -0400 Subject: [PATCH] Issue with relative paths --- .github/workflows/scraper.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scraper.yml b/.github/workflows/scraper.yml index a8faedb..46f0d88 100644 --- a/.github/workflows/scraper.yml +++ b/.github/workflows/scraper.yml @@ -144,11 +144,12 @@ jobs: - name: Create CSV file run: | - grep -oe '
  • .*
  • ' static-generated/courses/*.html | + cd static-generated/courses + grep -oe '
  • .*
  • ' *.html | sort -u | grep -ve "-[0-9]9[4-7][0-9]" -e "-[0-9]9[89]0" -e "-[0-9]000[1-9]" -e "USAR" -e "ADMN" -e "USNA" -e "USAF" | sed -e 's/^/"/' -e 's/.html:
  • /","/' -e 's#
  • #"#' -e 's/"\([^"]*\)","\([^"]*\)"/"\2","\1"/' | - sort > quatalog-data/courses.csv + sort > ../../quatalog-data/courses.csv - name: Push CSV file working-directory: quatalog-data