From 0c3129ac591b4a178d3e3a68658e116cbd44f7c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 11 May 2021 11:59:48 +0200 Subject: [PATCH] MOBILE-3749 github: Fix prepare workflow --- .github/scripts/prepare.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/scripts/prepare.sh b/.github/scripts/prepare.sh index ffc8a3123..656ab68cb 100755 --- a/.github/scripts/prepare.sh +++ b/.github/scripts/prepare.sh @@ -1,8 +1,7 @@ #!/bin/bash source "./.github/scripts/functions.sh" -BRANCH=${GITHUB_REF##*/} -if [ -z $GIT_TOKEN ] || [ -z $BRANCH ] || [ $GITHUB_REPOSITORY != 'moodlehq/moodleapp' ]; then +if [ -z $GIT_TOKEN ] || [ $GITHUB_REPOSITORY != 'moodlemobile/moodleapp' ]; then print_error "Env vars not correctly defined" exit 1 fi