There was an error while loading. Please reload this page.
1 parent d8b80af commit 29953daCopy full SHA for 29953da
1 file changed
.github/workflows/release.yml
@@ -74,3 +74,24 @@ jobs:
74
- uses: danielroe/uppt/publish@7bcfb5397c37202ef882363f755423130419d28a # v0.5.5
75
with:
76
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