Skip to content

Commit

Permalink
docs: trigger docs.hiro.so refresh on commits to master (#1787)
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieC3 authored Dec 27, 2023
1 parent d3f0b64 commit c2edd17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/vercel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2edd17

Please sign in to comment.