From 711253dff16b49c84c7c661b660137041d51efdf Mon Sep 17 00:00:00 2001 From: CharlieC3 <2747302+CharlieC3@users.noreply.github.com> Date: Wed, 27 Dec 2023 15:09:00 -0500 Subject: [PATCH] docs: trigger docs.hiro.so refresh on commits to master --- .github/workflows/vercel.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/vercel.yml b/.github/workflows/vercel.yml index eec3a9cdc8..8902fa9276 100644 --- a/.github/workflows/vercel.yml +++ b/.github/workflows/vercel.yml @@ -59,6 +59,10 @@ jobs: id: deploy run: vercel ${{ github.ref_name == 'master' && '--prod' || 'deploy' }} --prebuilt --token=${{ secrets.VERCEL_TOKEN }} | awk '{print "deployment_url="$1}' >> $GITHUB_OUTPUT + - name: Trigger docs.hiro.so deployment + if: github.ref_name == 'master' + run: curl -X POST ${{ secrets.VERCEL_DOCS_DEPLOY_HOOK_URL }} + - name: Add comment with Vercel deployment URL if: ${{ github.event_name == 'pull_request' }} uses: thollander/actions-comment-pull-request@v2