We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53f2f46 + ceffa1d commit c9273f0Copy full SHA for c9273f0
.github/workflows/deploy-api.yml
@@ -1,4 +1,4 @@
1
-name: Deploy API to VPS
+name: Deploy API to Render and VPS
2
3
on:
4
workflow_run:
@@ -10,7 +10,15 @@ on:
10
- completed
11
12
jobs:
13
- deploy:
+ deploy-render:
14
+ runs-on: ubuntu-latest
15
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
16
+ steps:
17
+ - name: install curl
18
+ run: sudo apt-get update && sudo apt-get install -y curl
19
+ - name: send Render API deploy webhook
20
+ run: curl ${{ secrets.RENDER_WEBHOOK }}
21
+ deploy-vps:
22
runs-on: ubuntu-latest
23
if: ${{ github.event.workflow_run.conclusion == 'success' }}
24
steps:
0 commit comments