Skip to content

DB end point correction #243

DB end point correction

DB end point correction #243

Workflow file for this run

name: Fly Deploy - Main
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
# - run: |
# flyctl secrets set FLY_API_TOKEN="$FLY_API_TOKEN_DEV" \
# DB_URL="$DB_URL" \
# DB_USER="$DB_USER" \
# DB_PASSWORD="$DB_PASSWORD" \
# FIREBASE_CREDENTIALS="$FIREBASE_CREDENTIALS" \
# --app ovatify-backend-dev
- run: |
echo "${{ secrets.ENV_FILE }}" > .env
- run: flyctl deploy --remote-only --app ovatify-backend
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}