Skip to content

Commit 58b4c5d

Browse files
Tweak publish.yml (#24)
1 parent 02f9a06 commit 58b4c5d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Publish package to the npm registry
2-
name: Publish Package
2+
name: Publish package to npm
33

44
on:
55
# Run the workflow when a new tag is pushed starting with `v`
@@ -11,8 +11,9 @@ on:
1111
workflow_dispatch:
1212

1313
permissions:
14-
id-token: write
1514
contents: read
15+
pages: write
16+
id-token: write
1617

1718
jobs:
1819
publish:
@@ -35,4 +36,5 @@ jobs:
3536
- name: Publish
3637
run: pnpm --filter "@skirtle/create-vue-lib" publish
3738
docs:
39+
needs: publish
3840
uses: ./.github/workflows/pages.yml

0 commit comments

Comments
 (0)