Skip to content

switch format/lint to biome; add knip code analyzer (#48) #108

switch format/lint to biome; add knip code analyzer (#48)

switch format/lint to biome; add knip code analyzer (#48) #108

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches:
- master
tags:
- v*
jobs:
deploy:
runs-on: ubuntu-latest
environment: ${{ startsWith(github.ref, 'refs/tags/') && 'production' || 'development' }}
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Set up flyctl
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy
run: flyctl deploy --no-cache --config ./fly.toml --app ${{ vars.APP_NAME }} --remote-only --build-arg MAGICSWAPV2_API_URL=${{ vars.MAGICSWAPV2_API_URL }}
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}