Skip to content

Commit 87a3d7f

Browse files
saitcakmakmeta-codesync[bot]
authored andcommitted
Update deploy_on_release.yml to trigger when a draft release is published (meta-pytorch#3084)
Summary: The current "created" condition only triggers if we create a non-draft release. If a draft release is created and later published, we need an additional "published" condition for the workflow to trigger. Pull Request resolved: meta-pytorch#3084 Reviewed By: Balandat Differential Revision: D87558880 Pulled By: saitcakmak fbshipit-source-id: ea9cc2359ecb0e4762dd4f3c036ef6f973e82fe3
1 parent ee328f2 commit 87a3d7f

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]
5+
types: [created, published]
66
workflow_dispatch:
77

88

0 commit comments

Comments
 (0)