Trigger re-deployment to render production #59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Trigger re-deployment to render production | |
| on: | |
| workflow_run: | |
| workflows: ["Tag, Build, and Push Docker Image for Main Branch"] | |
| types: | |
| - completed | |
| jobs: | |
| deploy: | |
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Trigger re-deployment to render production | |
| - name: Deploy | |
| env: | |
| deploy_url: ${{ secrets.RENDER_DEPLOY_HOOK_URL }} | |
| run: | | |
| curl "$deploy_url" |