trigger the CD workflow on tags
authorgggeek <giunta.gaetano@gmail.com>
Sat, 7 Jan 2023 18:41:58 +0000 (18:41 +0000)
committergggeek <giunta.gaetano@gmail.com>
Sat, 7 Jan 2023 18:41:58 +0000 (18:41 +0000)
.github/workflows/cd.yaml

index a1ae761..e1ce858 100644 (file)
@@ -1,10 +1,12 @@
 name: CD
 
 on:
-    # we limit this workflow to pushes to master. No need to run on prs
+    # we limit this workflow to pushes to master and to tags. No need to run on prs
     push:
         branches:
             - master
+        tags:
+            - '**'
 
 jobs:
     # we could try to split in 2 jobs: one for docs and one for release, but the release one needs the asset from the docs one...