From 5bdcfe292cab4f6f67134378b20d7b1c3d80d5a4 Mon Sep 17 00:00:00 2001 From: Puru D Date: Fri, 17 May 2024 15:43:37 -0500 Subject: [PATCH] feat: pushing latest image to demo --- .github/workflows/release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82e89b249..b027ee802 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,11 @@ name: Production on: - release: - types: [published] + # release: + # types: [published] + push: + branches: + - demo jobs: push_to_registries: @@ -57,7 +60,7 @@ jobs: with: version: latest - - name: 🚀 Deploy Production - run: flyctl deploy --remote-only --image captable/captable:latest + - name: 🚀 Deploy Demo + run: flyctl deploy --remote-only --image captable/captable:demo --app captable-staging env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}