Skip to content

Commit 9bbea55

Browse files
committed
fix: set app_version on fly deployment prior to deploy
1 parent a664ceb commit 9bbea55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ jobs:
5656
- name: Install Flyctl
5757
uses: superfly/flyctl-actions/setup-flyctl@master
5858

59+
- name: Set Fly.io app version
60+
run: flyctl secrets set APP_VERSION=${{ github.ref_name }} -a ${{ secrets.FLY_APP_NAME }}
61+
5962
- name: Deploy to Fly.io
6063
run: flyctl deploy -a ${{ secrets.FLY_APP_NAME }} --env APP_VERSION=${{ github.ref_name }} --build-arg APP_VERSION=${{ github.ref_name }} --remote-only
6164
env:

0 commit comments

Comments
 (0)