Skip to content

Commit 02c6580

Browse files
authored
fix: dispatch Pages after a release tag
The version bump push never starts Pages. Dispatch the existing workflow after the tag is created.
1 parent 2cf86d0 commit 02c6580

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
permissions:
99
contents: write
10+
actions: write
1011

1112
concurrency:
1213
group: release
@@ -178,3 +179,9 @@ jobs:
178179
gh release create "v${{ steps.new.outputs.version }}" \
179180
--title "v${{ steps.new.outputs.version }}" \
180181
--generate-notes
182+
183+
- name: Dispatch Pages
184+
if: steps.check.outputs.skip == 'false' && steps.bump.outputs.release == 'true'
185+
env:
186+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
187+
run: gh workflow run pages.yml --ref main

0 commit comments

Comments
 (0)