Skip to content

Commit

Permalink
Merge pull request #11 from willy-r/feat/cd-fly
Browse files Browse the repository at this point in the history
feat: add action to deploy on fly when merging to main
  • Loading branch information
willy-r committed Apr 3, 2024
2 parents 9d6ff38 + b98abe0 commit 6e019a7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/fly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Fly Deploy

on:
push:
branches:
- main

jobs:
deploy:
name: Deploy bot
runs-on: ubuntu-latest
concurrency: deploy-group
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 comments on commit 6e019a7

Please sign in to comment.