restore red heart color for liked state #42
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: Deploy | ||
|
Check failure on line 1 in .github/workflows/deploy.yml
|
||
| on: | ||
| workflow_run: | ||
| workflows: ["CI"] | ||
| types: [completed] | ||
| workflow_dispatch: | ||
| jobs: | ||
| trigger-platform-deploy: | ||
| runs-on: ubuntu-latest | ||
| if: > | ||
| (github.event_name == 'workflow_dispatch' || | ||
| (github.event_name == 'workflow_run' && | ||
| github.event.workflow_run.conclusion == 'success' && | ||
| github.event.workflow_run.head_branch == 'main')) && | ||
| (secrets.VERCEL_DEPLOY_HOOK_URL != '' || secrets.RENDER_DEPLOY_HOOK_URL != '') | ||
| env: | ||
| VERCEL_DEPLOY_HOOK_URL: ${{ secrets.VERCEL_DEPLOY_HOOK_URL }} | ||
| RENDER_DEPLOY_HOOK_URL: ${{ secrets.RENDER_DEPLOY_HOOK_URL }} | ||
| steps: | ||
| - name: Trigger Vercel deploy | ||
| if: ${{ env.VERCEL_DEPLOY_HOOK_URL != '' }} | ||
| run: | | ||
| curl -fsSL -X POST "$VERCEL_DEPLOY_HOOK_URL" | ||
| echo "Triggered Vercel deploy hook." | ||
| - name: Trigger Render deploy | ||
| if: ${{ env.RENDER_DEPLOY_HOOK_URL != '' }} | ||
| run: | | ||
| curl -fsSL -X POST "$RENDER_DEPLOY_HOOK_URL" | ||
| echo "Triggered Render deploy hook." | ||