MOBILE-3749 github: Fix prepare workflow
parent
f1423183c9
commit
0c3129ac59
|
@ -1,8 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source "./.github/scripts/functions.sh"
|
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"
|
print_error "Env vars not correctly defined"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue