From b1b62e84dd45460c431200e5dfe084b22608e702 Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Sat, 4 Jun 2022 20:18:01 -0400 Subject: .github/workflows: update deploy.yml --- .github/workflows/deploy.yml | 6 ++++-- 1 file 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 }} -- cgit v1.2.3