Skip to content

Commit

Permalink
Merge pull request #44120 from Expensify/andrew-hybrid-deploy-fix
Browse files Browse the repository at this point in the history
Add checkout and inline `npm version` to fix HybridApp deploys
  • Loading branch information
roryabraham authored Jun 20, 2024
2 parents d2ea358 + 6f93611 commit 522bf36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,11 @@ jobs:
needs: validateActor
if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) && github.event_name == 'push' }}
steps:
- name: Get version
run: echo "VERSION=$(npm run print-version --silent)" >> "$GITHUB_ENV"
- name: Checkout
uses: actions/checkout@v4

- name: 'Deploy HybridApp'
run: gh workflow run --repo Expensify/Mobile-Deploy deploy.yml -f force_build=true -f build_version=${{ env.VERSION }}
run: gh workflow run --repo Expensify/Mobile-Deploy deploy.yml -f force_build=true -f build_version="$(npm run print-version --silent)"
env:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}

Expand Down

0 comments on commit 522bf36

Please sign in to comment.