diff options
-rw-r--r-- | .github/workflows/deploy.yml | 6 |
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 }} |