Change GitHub Actions Deploy workflow to run when releases are published
authorHarmon <Harmon758@gmail.com>
Wed, 23 Dec 2020 20:16:56 +0000 (14:16 -0600)
committerHarmon <Harmon758@gmail.com>
Wed, 23 Dec 2020 20:16:56 +0000 (14:16 -0600)
Rather than when created, so that saving a draft release doesn't trigger the workflow

.github/workflows/deploy.yml

index 60c285eeb4e1fcf7a872e92990f7488779379455..4cb693ae87e486991608696958ed48a0ed4c14b7 100644 (file)
@@ -2,7 +2,7 @@ name: Deploy
 
 on:
   release:
-    types: [created]
+    types: [published]
 
 jobs:
   deploy: