Skip to content

Commit 29953da

Browse files
committed
chore: fix release docs and template deploy
Signed-off-by: Frederik Bußmann <frederik@bussmann.io>
1 parent d8b80af commit 29953da

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,24 @@ jobs:
7474
- uses: danielroe/uppt/publish@7bcfb5397c37202ef882363f755423130419d28a # v0.5.5
7575
with:
7676
files: ${{ needs.pack.outputs.files }}
77+
78+
deploy:
79+
if: |
80+
github.event_name == 'workflow_dispatch'
81+
&& startsWith(github.ref, 'refs/tags/v')
82+
needs: [publish]
83+
runs-on: ubuntu-latest
84+
concurrency:
85+
group: deploy-${{ github.ref }}
86+
cancel-in-progress: false
87+
permissions:
88+
actions: write
89+
steps:
90+
- name: Dispatch docs and template deployments
91+
env:
92+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
GH_REPO: ${{ github.repository }}
94+
TAG: ${{ github.ref_name }}
95+
run: |
96+
gh workflow run docs.yml --ref "$TAG"
97+
gh workflow run template.yml --ref "$TAG"

0 commit comments

Comments
 (0)