diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a72936f074a7ea7fcc6bbb3e341a3e3358e4a363..c7cc76dfbd8b085d1cfb7468e1bd97f160bc9b71 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