feat(deploy): add workflow to deploy to fly.io on push

Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
Amogh Lele 2023-05-28 23:08:19 +05:30
parent 0cc5f3d1a3
commit 2954f4848d
2 changed files with 14 additions and 1 deletions

12
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Fly Deploy
on: [push]
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy to fly.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.env .env
node_modules node_modules
frontend/dist frontend/dist
.vscode