diff --git a/.github/workflows/platformDeploy.yml b/.github/workflows/platformDeploy.yml index dbac1423b219..4ad6d54e2f24 100644 --- a/.github/workflows/platformDeploy.yml +++ b/.github/workflows/platformDeploy.yml @@ -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 }}