Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/deploy-api.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy API to VPS
name: Deploy API to Render and VPS

on:
workflow_run:
Expand All @@ -10,7 +10,15 @@ on:
- completed

jobs:
deploy:
deploy-render:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: install curl
run: sudo apt-get update && sudo apt-get install -y curl
- name: send Render API deploy webhook
run: curl ${{ secrets.RENDER_WEBHOOK }}
deploy-vps:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
Expand Down
Loading