Skip to content

Commit 8af234a

Browse files
saitcakmakmeta-codesync[bot]
authored andcommitted
Update deploy_on_release.yml to only run when a release is published (meta-pytorch#3087)
Summary: Looks like releasing directly without first creating a draft release triggers on both "created" and "published". Since "published" also covers publishing a draft release, it should be the only rule we need. Pull Request resolved: meta-pytorch#3087 Reviewed By: Balandat Differential Revision: D87648588 Pulled By: saitcakmak fbshipit-source-id: f31acd8b10e64a221902bd241d0b6693bc35c428
1 parent a33ea72 commit 8af234a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy_on_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy On Release
22

33
on:
44
release:
5-
types: [created, published]
5+
types: [published]
66
workflow_dispatch:
77

88

0 commit comments

Comments
 (0)