Explorar el Código

[ci] Make deploys on happen on tags

Colin Powell hace 4 meses
padre
commit
d7cc009d07
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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: