Skip to content

Commit

Permalink
fix: add tag in deploy_fly
Browse files Browse the repository at this point in the history
Add the step to set tag var from git tag.
  • Loading branch information
tkurki committed Nov 12, 2023
1 parent 290ceb3 commit f61360d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ jobs:
uses: actions/checkout@v3
- name: Setup flyctl
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Set TAG for build-arg
id: vars
run: echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/*/})
- name: Deploy demo.signalk.org at fly.io
working-directory: ./fly_io/demo_signalk_org
run: flyctl deploy --remote-only --build-arg SK_VERSION=${{ steps.vars.outputs.tag }}
Expand Down

0 comments on commit f61360d

Please sign in to comment.