Skip to content

Remove admin check from approve onboarding request so I can create first #105

Remove admin check from approve onboarding request so I can create first

Remove admin check from approve onboarding request so I can create first #105

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 }}"
sourceBranch: "main"