Skip to content

Commit

Permalink
ci: Move publish_ui flag to correct location (#3606)
Browse files Browse the repository at this point in the history
Move `publish_ui` flag to correct location

Signed-off-by: Felix Wang <wangfelix98@gmail.com>
  • Loading branch information
felixwang9817 authored Apr 21, 2023
1 parent 3ee0b9e commit 61a3be6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ jobs:


publish-web-ui-npm:
if: github.repository == 'feast-dev/feast' && github.event.inputs.publish_ui == 'true'
needs: [validate_version_bumps, get_dry_release_versions]
runs-on: ubuntu-latest
env:
Expand All @@ -116,7 +115,7 @@ jobs:
run: yarn build:lib
- name: Publish UI package
working-directory: ./ui
if: github.event.inputs.dry_run == 'false'
if: github.event.inputs.dry_run == 'false' && github.event.inputs.publish_ui == 'true'
run: npm publish
env:
# This publish is working using an NPM automation token to bypass 2FA
Expand Down

0 comments on commit 61a3be6

Please sign in to comment.