Auto deploy to fly on changes to master.
This commit is contained in:
parent
9a0526800e
commit
39798f50f7
1 changed files with 16 additions and 0 deletions
16
.github/workflows/fly-deploy.yml
vendored
Normal file
16
.github/workflows/fly-deploy.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
name: Fly Deploy
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
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 }}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue