Ver Fonte

[ci] Make deploys on happen on tags

Colin Powell há 4 meses atrás
pai
commit
d7cc009d07
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      .drone.yml

+ 2 - 2
.drone.yml

@@ -39,8 +39,8 @@ steps:
         - vrobbler collectstatic --noinput
         - immortalctl restart celery && immortalctl restart vrobbler
     when:
-      branch:
-      - main
+      ref:
+        - refs/tags/*
   - name: build success notification
     image: parrazam/drone-ntfy:0.3-linux-amd64
     when: