Merge pull request #2754 from crazyserver/MOBILE-3749
MOBILE-3749 github: Fix prepare workflow
This commit is contained in:
commit
b8c37b63b4
3
.github/scripts/prepare.sh
vendored
3
.github/scripts/prepare.sh
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user