Skip to content

Instantly share code, notes, and snippets.

@aled1027
Created March 15, 2023 21:03
Show Gist options
  • Save aled1027/94135e8f82c34d7c5678b7a1413f5e16 to your computer and use it in GitHub Desktop.
Save aled1027/94135e8f82c34d7c5678b7a1413f5e16 to your computer and use it in GitHub Desktop.
name: Deploy
on:
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
environment: test
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy -a odyn-staging-backend --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment