Skip to content

Commit c2edd17

Browse files
authored
docs: trigger docs.hiro.so refresh on commits to master (#1787)
1 parent d3f0b64 commit c2edd17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/vercel.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ jobs:
5959
id: deploy
6060
run: vercel ${{ github.ref_name == 'master' && '--prod' || 'deploy' }} --prebuilt --token=${{ secrets.VERCEL_TOKEN }} | awk '{print "deployment_url="$1}' >> $GITHUB_OUTPUT
6161

62+
- name: Trigger docs.hiro.so deployment
63+
if: github.ref_name == 'master'
64+
run: curl -X POST ${{ secrets.VERCEL_DOCS_DEPLOY_HOOK_URL }}
65+
6266
- name: Add comment with Vercel deployment URL
6367
if: ${{ github.event_name == 'pull_request' }}
6468
uses: thollander/actions-comment-pull-request@v2

0 commit comments

Comments
 (0)