-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (46 loc) · 2.18 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: "Staging: Deploy backend"
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "backend/**"
jobs:
deploy:
runs-on: ubuntu-latest
environment: staging
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/actions/heroku-deploy
with:
email: "${{ secrets.HEROKU_EMAIL }}"
apiKey: "${{ secrets.HEROKU_API_KEY }}"
appName: "${{ secrets.DEV_PROJECT_ID }}"
databaseName: "${{ secrets.DEV_MG_DB_NAME }}"
databaseUrl: "${{ secrets.DEV_MG_DATABASE_URL }}"
firebaseApiKey: "${{ secrets.DEV_FIREBASE_WEB_API_KEY }}"
firebaseAuthProviderX509CertUrl: "${{ secrets.DEV_FIREBASE_SVC_ACCOUNT_AUTH_PROVIDER_X509_CERT_URL }}"
firebaseAuthUri: "${{ secrets.DEV_FIREBASE_SVC_ACCOUNT_AUTH_URI }}"
firebaseRequestUri: "${{ secrets.DEV_FIREBASE_REQUEST_URI }}"
firebaseBucket: "${{ secrets.DEV_FIREBASE_STORAGE_DEFAULT_BUCKET }}"
firebaseClientX509CertUrl: "${{ secrets.DEV_FIREBASE_SVC_ACCOUNT_CLIENT_X509_CERT_URL }}"
firebaseProject: "${{ secrets.DEV_FIREBASE_PROJECT_ID }}"
firebasePrivateKey: "${{ secrets.DEV_FIREBASE_SVC_ACCOUNT_PRIVATE_KEY }}"
firebaseClientId: "${{ secrets.DEV_FIREBASE_SVC_ACCOUNT_CLIENT_ID }}"
firebasePrivateKeyId: "${{secrets.DEV_FIREBASE_SVC_ACCOUNT_PRIVATE_KEY_ID }}"
firebaseAccountTokenUri: "${{secrets.DEV_FIREBASE_SVC_ACCOUNT_TOKEN_URI }}"
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 }}"
useGoogleApi: "${{ secrets.DEV_USE_GOOGLE_API }}"
geocodingApiKey: "${{ secrets.DEV_GEOCODING_API_KEY }}"
googleApiKey: "${{ secrets.DEV_GOOGLE_API_KEY }}"
adminCCEmail: "${{ secrets.DEV_ADMIN_CC_EMAIL }}"
flaskConfig: "${{ secrets.DEV_FLASK_CONFIG }}"
frontendUrl: "${{ vars.FRONTEND_URL }}"
sourceBranch: "main"