Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Merge pull request #142 from vase/dependabot/docker/denoland/deno-dis… #73

Merge pull request #142 from vase/dependabot/docker/denoland/deno-dis…

Merge pull request #142 from vase/dependabot/docker/denoland/deno-dis… #73

Workflow file for this run

name: Fly Deploy
on:
push:
branches:
- main
- develop
jobs:
deploy:
runs-on: ubuntu-latest
env:
FLY_API_TOKEN: ${{ secrets.FLY_IO_ACCESS_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Set env to staging
if: github.ref == 'refs/heads/develop'
run: |
echo "FLY_APP=fly-on-the-wall-staging" >> $GITHUB_ENV
- name: Set env to production
if: github.ref == 'refs/heads/main'
run: |
echo "FLY_APP=fly-on-the-wall-production" >> $GITHUB_ENV
- uses: superfly/flyctl-actions@1.1
with:
args: "deploy --detach"