Skip to content

refactor/fix: merge services, add logging, fix goerli, fix price edge… #513

refactor/fix: merge services, add logging, fix goerli, fix price edge…

refactor/fix: merge services, add logging, fix goerli, fix price edge… #513

Workflow file for this run

name: CI
on:
push:
branches: [main, release]
pull_request:
branches: "**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Build
run: |
flyctl -c fly.staging.toml deploy --remote-only --build-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: Deploy to Staging
run: |
flyctl -c fly.staging.toml deploy --remote-only --wait-timeout=1800
if: ${{ github.ref == 'refs/heads/main' }}
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: Deploy to Production
run: |
flyctl -c fly.production.toml deploy --remote-only --wait-timeout=1800
if: ${{ github.ref == 'refs/heads/release' }}
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}