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

(cherry picked from commit 522bf36)
  • Loading branch information
roryabraham authored and OSBotify committed Jun 21, 2024
1 parent da01ea3 commit 64cee51
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 64cee51

Please sign in to comment.