aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/deploy-prod.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/deploy-prod.yml')
-rw-r--r--.github/workflows/deploy-prod.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml
new file mode 100644
index 0000000..ea52d64
--- /dev/null
+++ b/.github/workflows/deploy-prod.yml
@@ -0,0 +1,17 @@
+name: Fly Deploy Prod
+on:
+ release:
+ - released
+jobs:
+ deploy:
+ name: Deploy app
+ environment:
+ name: prod
+ url: https://pig.observer
+ runs-on: ubuntu-latest
+ env:
+ FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
+ steps:
+ - uses: actions/checkout@v2
+ - uses: superfly/flyctl-actions/setup-flyctl@master
+ - run: flyctl deploy --remote-only --app pig-observer