]> git.r.bdr.sh - rbdr/r.bdr.sh/commitdiff
Update ref except/only
authorRuben Beltran del Rio <redacted>
Thu, 14 Oct 2021 21:51:01 +0000 (23:51 +0200)
committerRuben Beltran del Rio <redacted>
Thu, 14 Oct 2021 21:51:01 +0000 (23:51 +0200)
.gitlab-ci.yml

index 9f2d01067409e25cbb492706a066df6315f3cb93..c8e8ac1e2acc79b9f4236a55eaa44bfdb875d7a3 100644 (file)
@@ -3,13 +3,15 @@ stages:
 
 upload:
   stage: upload
 
 upload:
   stage: upload
-  except: main
+  except:refs:
+    - main
   script:
     - make upload
 
 upload_production:
   stage: upload
   script:
     - make upload
 
 upload_production:
   stage: upload
-  only: main
+  only:refs:
+    - main
   environment: production
   script:
     - make upload
   environment: production
   script:
     - make upload