Skip to content

Commit 5d57e8d

Browse files
authored
Update github pages workflow to only publish on release (#1282)
1 parent 3ea4d6a commit 5d57e8d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/gh-pages-deploy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Deploy to github pages
22
on:
3-
workflow_dispatch:
4-
push:
5-
branches:
6-
- main
3+
release:
4+
types: [published]
75

86
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
97
permissions:

0 commit comments

Comments
 (0)