-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 1.24 KB
/
staging-heroku-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: "Staging: Deploy backend"
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "backend/**"
jobs:
deploy:
runs-on: ubuntu-latest
environment: rhs-staging
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: ./.github/actions/heroku-deploy
with:
email: "${{ secrets.DEV_HEROKU_EMAIL }}"
apiKey: "${{ secrets.DEV_HEROKU_API_KEY }}"
appName: "${{ secrets.DEV_HEROKU_PROJECT_ID }}"
databaseUrl: "${{ secrets.DEV_MG_DATABASE_URL }}"
firebaseApiKey: "${{ secrets.DEV_FIREBASE_WEB_API_KEY }}"
firebaseRequestUri: "${{ secrets.DEV_FIREBASE_REQUEST_URI }}"
firebaseBucket: "${{ secrets.DEV_FIREBASE_STORAGE_DEFAULT_BUCKET }}"
firebaseProject: "${{ secrets.DEV_FIREBASE_PROJECT_ID }}"
firebasePrivateKey: "${{ secrets.DEV_FIREBASE_SVC_ACCOUNT_PRIVATE_KEY }}"
firebaseEmail: "${{ secrets.DEV_FIREBASE_SVC_ACCOUNT_CLIENT_EMAIL }}"
mailerUser: "${{ secrets.DEV_MAILER_USER }}"
mailerId: "${{ secrets.DEV_MAILER_CLIENT_ID }}"
mailerSecret: "${{ secrets.DEV_MAILER_CLIENT_SECRET }}"
mailerRefreshToken: "${{ secrets.DEV_MAILER_REFRESH_TOKEN }}"