mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2024-12-26 01:25:57 +00:00
feat(deploy): add workflow to deploy to fly.io on push
Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
parent
0cc5f3d1a3
commit
2954f4848d
12
.github/workflows/deploy.yml
vendored
Normal file
12
.github/workflows/deploy.yml
vendored
Normal 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
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
.env
|
||||
node_modules
|
||||
frontend/dist
|
||||
.vscode
|
Loading…
Reference in New Issue
Block a user