Skip to content

Commit

Permalink
Add checkout and inline npm version to fix HybridApp deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGable committed Jun 20, 2024
1 parent ed50007 commit bbd1d83
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 bbd1d83

Please sign in to comment.