added ci/cd to project with gh/actions

This commit is contained in:
iritmaximus
2023-01-20 15:35:29 +02:00
parent 1ace80ca7e
commit 7bed74e98d
+17
View File
@@ -0,0 +1,17 @@
name: Deploy to fly.io
on:
push:
branches:
- main
env:
FLY_API_TOKEN: ${{ sectets.FLY_API_TOKEN }}
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