Skip to content

Commit

Permalink
Combine if logic
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGable committed Jun 5, 2024
1 parent fee88be commit d15d07f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,9 @@ jobs:
hybridApp:
runs-on: ubuntu-latest
needs: validateActor
if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) }}
if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) && github.event_name == 'push' }}
steps:
- name: 'Deploy HybridApp'
if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
run: gh workflow run --repo Expensify/Mobile-Deploy deploy.yml -f force_build=true
env:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
Expand Down

0 comments on commit d15d07f

Please sign in to comment.