ci: deploy on tags as well v3.0.1
authorPetr Štetiar <ynezz@true.cz>
Mon, 14 Sep 2020 10:12:19 +0000 (12:12 +0200)
committerPetr Štetiar <ynezz@true.cz>
Mon, 14 Sep 2020 10:12:19 +0000 (12:12 +0200)
Signed-off-by: Petr Štetiar <ynezz@true.cz>
.gitlab-ci.yml

index a9537fb042991e3fe8d071cc253d5002688daf3d..a981f3b7db5792689f53db8a26d435963faeed35 100644 (file)
@@ -102,6 +102,7 @@ test scaned site with selenium:
     - apk update && apk add rsync
   only:
     - master
+    - tags
   script:
     - rsync -rlptvz build/ "rsync://firmware_selector@mirror-02.infra.openwrt.org/$RSYNC_TARGET/www/"
 
@@ -117,3 +118,5 @@ deploy to firmware-selector.openwrt.org:
   when: manual
   before_script:
     - apk update && apk add rsync
+  only:
+    - tags