ci: add test deploy on fly with gh actions
This commit is contained in:
parent
52570682df
commit
f02bf26ec4
14
.github/workflows/main.yml
vendored
Normal file
14
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
name: Fly Deploy
|
||||
on: [push]
|
||||
env:
|
||||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deploy app
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: superfly/flyctl-actions@1.1
|
||||
with:
|
||||
args: "deploy"
|
||||
|
||||
Loading…
Reference in a new issue