Skip to content

Commit ed77e1e

Browse files
committed
Deploy docs after publishing a release
1 parent 728ae5a commit ed77e1e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/pages.yml

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

44
on:
5-
# Runs when a new release is created
6-
release:
7-
types:
8-
- created
5+
# Allows the workflow to be triggered from other workflows
6+
workflow_call:
97

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

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ jobs:
3434
run: pnpm --filter "@skirtle/create-vue-lib" run build
3535
- name: Publish
3636
run: pnpm --filter "@skirtle/create-vue-lib" publish
37+
docs:
38+
uses: ./.github/workflows/pages.yml

0 commit comments

Comments
 (0)