Skip to content

add command for testing firestore on server (#185) #51

add command for testing firestore on server (#185)

add command for testing firestore on server (#185) #51

name: Fly Deploy Staging
on:
push:
branches:
- master
jobs:
# deploy-web:
# name: Deploy Web
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: superfly/flyctl-actions/setup-flyctl@master
# - run: flyctl deploy --remote-only --config fly.staging.toml
# working-directory: ./web
# env:
# FLY_API_TOKEN: ${{ secrets.FLY_WEB_STAGING_API_TOKEN }}
deploy-api:
name: Deploy Api
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --config fly.staging.toml --env "GOOGLE_SERVICE_ACCOUNT_JSON=$(echo ${{ secrets.STAGING_SERVER_SERVICE_ACCOUNT }} | base64 --decode)"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_STAGING_API_TOKEN }}