Skip to content

Commit c44d62a

Browse files
committed
chore(ci): update deploy action trigger to release publish
1 parent c864390 commit c44d62a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: Deploy Docs to GH Pages
22

33
on:
4-
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
5-
# using the `master` branch as the default branch.
6-
push:
7-
branches: [main]
4+
release:
5+
types: [published]
86

97
# Allows you to run this workflow manually from the Actions tab
108
workflow_dispatch:

0 commit comments

Comments
 (0)