Skip to content

Commit

Permalink
Update redeploy workflow (#1681)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradlc authored Nov 12, 2024
1 parent 95da7d2 commit ac5ebc9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/redeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ on:
jobs:
redeploy:
runs-on: ubuntu-latest
env:
DEPLOY_HOOK: ${{ github.ref == 'refs/heads/main' && secrets.WEBSITE_DEPLOY_HOOK || secrets.WEBSITE_DEPLOY_HOOK_CORE_1 }}
steps:
- name: Trigger redeploy
run: |
curl -X POST ${{ secrets.WEBSITE_DEPLOY_HOOK }}
- name: Trigger search reindex
run: |
curl -X POST ${{ secrets.SEARCH_INDEX_DEPLOY_HOOK }}
curl -X POST ${{ env.DEPLOY_HOOK }}

0 comments on commit ac5ebc9

Please sign in to comment.