Skip to content

Commit

Permalink
feat: pushing latest image to demo
Browse files Browse the repository at this point in the history
  • Loading branch information
dahal committed May 17, 2024
1 parent f4c61d4 commit 5bdcfe2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Production

on:
release:
types: [published]
# release:
# types: [published]
push:
branches:
- demo

jobs:
push_to_registries:
Expand Down Expand Up @@ -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 }}

0 comments on commit 5bdcfe2

Please sign in to comment.