summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-06-04 20:18:01 -0400
committersiddharth ravikumar <s@ricketyspace.net>2022-06-04 20:18:01 -0400
commitb1b62e84dd45460c431200e5dfe084b22608e702 (patch)
tree073b3519d879db54822843e7df9bab4fa9906a11 /.github/workflows
parent311c6782a47382c4f90d377b99f364aeea190739 (diff)
.github/workflows: update deploy.yml
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index b53a169..771106c 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -1,10 +1,10 @@
name: peach-deploy
on:
push:
+ branches:
+ - main
tags:
- v0.*
-env:
- FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: deploy peach
@@ -13,3 +13,5 @@ jobs:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
+ env:
+ FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}