Skip to content

Commit

Permalink
fix: expo update #2
Browse files Browse the repository at this point in the history
  • Loading branch information
berenteb committed Feb 3, 2024
1 parent 83326b6 commit a5fac85
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ jobs:
update:
name: EAS Update
runs-on: ubuntu-latest
# env:
# EXPO_PUBLIC_API_URL: ${{ vars.EXPO_PUBLIC_API_URL }}
env:
EXPO_PUBLIC_API_BASE_URL: ${{ vars.EXPO_PUBLIC_API_BASE_URL }}
steps:
- name: Check for EXPO_TOKEN
run: |
if [ -z "${{ secrets.EXPO_TOKEN }}" ]; then
echo "You must provide an EXPO_TOKEN secret linked to this project's Expo account in this repo's secrets."
exit 1
fi
# - name: Check for ENV variables
# run: |
# if [ -z "${{ vars.EXPO_PUBLIC_API_URL }}" ]; then
# echo "API_URL is not set"
# exit 1
# fi
- name: Check for ENV variables
run: |
if [ -z "${{ vars.EXPO_PUBLIC_API_BASE_URL }}" ]; then
echo "EXPO_PUBLIC_API_BASE_URL is not set"
exit 1
fi
- name: Checkout repository
uses: actions/checkout@v3

Expand Down

0 comments on commit a5fac85

Please sign in to comment.