-
Notifications
You must be signed in to change notification settings - Fork 33
22 lines (20 loc) · 952 Bytes
/
staging.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Staging Build and Deploy
on:
push:
branches: [main]
jobs:
build-and-deploy:
uses: ./.github/workflows/deploy.yml
secrets:
SERVER_HOSTNAME: ${{ secrets.STAGING_SERVER_HOSTNAME }}
FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }}
FIREBASE_AUTH_DOMAIN: ${{ secrets.FIREBASE_AUTH_DOMAIN }}
FIREBASE_PROJECT_ID: ${{ secrets.FIREBASE_PROJECT_ID }}
FIREBASE_STORAGE_BUCKET: ${{ secrets.FIREBASE_STORAGE_BUCKET }}
FIREBASE_MESSAGING_SENDER_ID: ${{ secrets.FIREBASE_MESSAGING_SENDER_ID }}
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }}
AZURE_FUNCTION_APP_NAME: ${{ secrets.STAGING_AZURE_FUNCTION_APP_NAME }}
AZURE_FUNCTIONAPP_PUBLISH_PROFILE: ${{ secrets.STAGING_AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}
FIREBASE_SERVER_JSON: ${{ secrets.FIREBASE_SERVER_JSON }}
DEPLOY_WEBHOOK_KEY: ${{ secrets.DEPLOY_WEBHOOK_KEY }}
ASWA_API_TOKEN: ${{secrets.STAGING_ASWA_API_TOKEN}}