aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2022-08-03 00:49:17 -0600
committerMelody Horn <melody@boringcactus.com>2022-08-03 00:49:17 -0600
commit2acd9c4b5fa3f615af3403daede9ff5c5682f4c0 (patch)
treedb1f821159d9d5d0dd9fd127e8b5c9fdd89d241b /.github/workflows
parent408841c69246530c5ccb41d7b38b53a6bda3bb03 (diff)
downloadpig.observer-2acd9c4b5fa3f615af3403daede9ff5c5682f4c0.tar.gz
pig.observer-2acd9c4b5fa3f615af3403daede9ff5c5682f4c0.zip
auto deploy to prod too
Diffstat (limited to '.github/workflows')
-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