Skip to content

Fix

Fix #51

Workflow file for this run

name: Build
on:
push:
tags: ["v*"]
branches: ["main"]
pull_request:
branches: ["*"]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy to fly.io
run: "flyctl deploy -a sn-bindgen-web"
if: startsWith(github.ref, 'refs/tags/v') || (github.ref == 'refs/heads/main')
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}