Skip to content

Commit

Permalink
Github Action for automated deploy to flyio
Browse files Browse the repository at this point in the history
  • Loading branch information
TIT8 committed Aug 27, 2023
1 parent 756f2e1 commit 659b5b5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/fly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Fly Deploy
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# fly.toml app configuration file generated for formapi on 2023-08-26T10:49:41+02:00
# fly.toml app configuration file generated for formapi on 2023-08-27T12:58:16+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
Expand Down

0 comments on commit 659b5b5

Please sign in to comment.