Skip to content

Commit

Permalink
added missing echo
Browse files Browse the repository at this point in the history
  • Loading branch information
Pari Work Temp committed Aug 15, 2024
1 parent 18f8ba9 commit 68068fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ jobs:

- name: Set Variables
run:
backend_url=${{ github.event.deployment_status.environment_url }} >> $GITHUB_ENV
PR_NUMBER=$(echo "$backend_url" | grep -oP '(?<=pr-)\d+') >> $GITHUB_ENV
REPO_NAME=${{ github.repository }} >> $GITHUB_ENV
EXPO_NAME="${{ github.repository }}-$PR_NUMBER" >> $GITHUB_ENV
echo "backend_url=${{ github.event.deployment_status.environment_url }}" >> $GITHUB_ENV
echo "PR_NUMBER=$(echo ${{ github.event.deployment_status.environment_url }} | grep -oP '(?<=pr-)\d+')" >> $GITHUB_ENV
echo "REPO_NAME=${{ github.repository }}" >> $GITHUB_ENV
echo "EXPO_NAME=${{ github.repository }}-$(echo ${{ github.event.deployment_status.environment_url }} | grep -oP '(?<=pr-)\d+')" >> $GITHUB_ENV

- name: 🚀 Publish preview
working-directory: ./my_project/mobile
Expand Down

0 comments on commit 68068fa

Please sign in to comment.