From c1ed53bd3886c7baf9e044b30b605756d33128ad Mon Sep 17 00:00:00 2001
From: Jennifer Mankoff <jmankoff@cs.washington.edu>
Date: Wed, 7 Dec 2022 09:27:13 -0800
Subject: [PATCH] generic gitlabci

---
 .gitlab-ci.yml | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a72936f0..c7cc76df 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,11 +30,11 @@ build_production:
         - cp _layouts/presentation_production.html _layouts/presentation.html
         - bundle exec jekyll build -d public
     variables:
-        quarter: 23wi
+        quarter: yyqq
         course: csep590b
         source_path: public
     only:
-        - CSEP590a-23WI
+        - CSEP590a-YYQQ
     artifacts:
         paths:
             - public/
@@ -48,11 +48,11 @@ pre_deploy_production:
     script:
         - /www/utils/deploycourseweb.sh
     variables:
-        quarter: 23wi
-        course: csep590a
+        quarter: yyqq
+        course: csep590b
         source_path: public
     only:
-        - CSEP590a-23WI
+        - CSEP590a-YYQQ
 
 generate_pdf:
     stage: generatepdf
@@ -65,12 +65,11 @@ generate_pdf:
         - bundle install --path vendor
         - script/deployslidepdf
     variables:
-        quarter: 23wi
-        course: csep590a
+        quarter: yyqq
+        course: csep590b
         source_path: public
     only:
-        refs:
-           - CSEP590a-23WI
+        - CSEP590a-YYQQ
     artifacts:
         paths:
             - public/
@@ -88,4 +87,4 @@ after_deploy_production:
         course: csep590b
         source_path: public
     only:
-        - CSEP590a-23WI
+        - CSEP590a-YYQQ
-- 
GitLab