Skip to content

Commit 32460fd

Browse files
committed
Only deploy docs updates for a new release
1 parent 4f5b2b1 commit 32460fd

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/pages.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
name: Deploy to GitHub Pages
33

44
on:
5-
# Runs on pushes targeting the default branch
6-
push:
7-
branches:
8-
- main
9-
paths-ignore:
10-
- 'packages/create-vue-lib/**'
5+
# Runs when a new release is created
6+
release:
7+
types:
8+
- created
119

1210
# Allows you to run this workflow manually from the Actions tab
1311
workflow_dispatch:

0 commit comments

Comments
 (0)