Skip to content

Commit

Permalink
ci(release): properly detect repo when deploying single app
Browse files Browse the repository at this point in the history
(cherry picked from commit d841807)
  • Loading branch information
ygrishajev committed Oct 7, 2024
1 parent 3cfbe74 commit 25f6d0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,6 @@ jobs:
force_build="-f"
fi
npm run release -w apps/${{ github.event.inputs.app }} -- $pre_release $force_build --verbose --ci -r ${{ secrets.API_REGISTRY }}
repo="${{ github.event.inputs.app == 'api' && vars.API_REGISTRY || vars.WEB_REGISTRY }}"
npm run release -w apps/${{ github.event.inputs.app }} -- $pre_release $force_build --verbose --ci -r $repo

0 comments on commit 25f6d0a

Please sign in to comment.