fixing scripts path

This commit is contained in:
Baptiste Augrain
2021-03-10 16:56:14 +01:00
parent 3e50a25606
commit c3f50a8efe
5 changed files with 22 additions and 5 deletions

4
check_cron_or_pr.sh Normal file → Executable file
View File

@@ -3,11 +3,13 @@
set -e
if [[ $github.event.number ]]; then
# it's a PR
echo "It's a PR"
export SHOULD_BUILD="yes"
export SHOULD_DEPLOY="no"
else
echo "It's a cron"
export SHOULD_DEPLOY="yes"
fi