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 1adc6a0 + a28c2bd commit 8730730Copy full SHA for 8730730
.github/workflows/deploy-dev.yml
@@ -1,4 +1,4 @@
1
-name: Deploy
+name: Deploy (Development)
2
3
on:
4
push:
@@ -10,7 +10,7 @@ jobs:
10
name: Deploy API
11
runs-on: ubuntu-latest
12
steps:
13
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
14
- uses: akhileshns/heroku-deploy@v3.13.15
15
with:
16
appdir: "apps/api"
.github/workflows/deploy-main.yml
@@ -0,0 +1,19 @@
+name: Deploy (Production)
+
+on:
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy-api:
+ name: Deploy API
+ runs-on: ubuntu-latest
+ steps:
+ - uses: akhileshns/heroku-deploy@v3.13.15
+ with:
+ appdir: "apps/api"
17
+ heroku_api_key: ${{secrets.HEROKU_API_KEY}}
18
+ heroku_app_name: "pvdthings-api"
19
+ heroku_email: ${{secrets.HEROKU_EMAIL}}
0 commit comments