We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 826107a commit fd8bf20Copy full SHA for fd8bf20
2 files changed
.github/workflows/push-master.yaml
@@ -0,0 +1,27 @@
1
+name: Push to master workflow
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ workflow_dispatch:
8
9
+jobs:
10
+ migrate:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Migrate database
15
+ run: npm run prisma:migrate:deploy
16
17
+ deploy:
18
19
20
21
+ - name: Deploy to Render
22
+ uses: johnbeynon/render-deploy-action@v0.0.8
23
+ with:
24
+ service-id: ${{ secrets.RENDER_SERVICE_ID }}
25
+ api-key: ${{ secrets.RENDER_API_KEY }}
26
+ wait-for-success: true
27
.github/workflows/push.yaml
@@ -31,6 +31,9 @@ jobs:
31
- name: Install dependencies
32
run: npm install
33
34
+ - name: Generate Prisma client
35
+ run: npm run prisma:generate
36
37
- name: Test
38
run: npm run test:cov
39
0 commit comments