From a5fac858b4009af89d47549e37fe8342a7a88788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Berente?= <30603208+berenteb@users.noreply.github.com> Date: Sat, 3 Feb 2024 16:55:43 +0100 Subject: [PATCH] fix: expo update #2 --- .github/workflows/update.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index e4f3a9b..a48bca5 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -9,8 +9,8 @@ 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: | @@ -18,12 +18,12 @@ jobs: 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