Skip to content

Commit

Permalink
Conditional if on release for fe
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Apr 1, 2022
1 parent d1effec commit 8af0c4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scicat-fe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
frontend/**
set_ci_vars:
if: needs.check_changed.outputs.changed == 'true'
if: (needs.check_changed.outputs.changed == 'true' && !needs.set_env.outputs.component) || needs.set_env.outputs.component == 'fe'
runs-on: ubuntu-latest
needs:
- check_changed
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
echo "::set-output name=ciVars::$(echo $ciVars)"
build_deploy_scicat_fe:
if: needs.check_changed.outputs.changed == 'true'
if: (needs.check_changed.outputs.changed == 'true' && !needs.set_env.outputs.component) || needs.set_env.outputs.component == 'fe'
needs:
- check_changed
- set_env
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scicat-pan-ontologies-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ jobs:
secrets:
KUBECONFIG: ${{ secrets.KUBECONFIG }}
JSON_SECRETS: ${{ toJSON(secrets) }}

0 comments on commit 8af0c4d

Please sign in to comment.