Update deploy and dispatch scripts to match v5.1
This commit is contained in:
parent
72d50f4783
commit
17802717de
2 changed files with 10 additions and 5 deletions
|
|
@ -6,5 +6,6 @@ if [ ! "$GITHUB_EVENT_NAME" == "schedule" ]; then
|
|||
fi
|
||||
|
||||
git checkout "$IDF_BRANCH" #local branches should match what the matrix wants to build
|
||||
DEPLOY_OUT=1
|
||||
source ./build.sh
|
||||
bash ./tools/push-to-arduino.sh
|
||||
# bash ./tools/push-to-arduino.sh
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ commit=`echo "$payload" | jq -r '.commit'`
|
|||
builder=`echo "$payload" | jq -r '.builder'`
|
||||
arduino=`echo "$payload" | jq -r '.arduino'`
|
||||
|
||||
echo "Action: $action, Branch: $branch, Tag: $tag, Commit: $commit, Builder: $builder, Arduino: $arduino"
|
||||
echo "Action: $action, Branch: $branch, Tag: $tag, Commit: $commit, Builder: $builder, Arduino: $arduino, Actor: $GITHUB_ACTOR"
|
||||
|
||||
if [ ! "$action" == "deploy" ] && [ ! "$action" == "build" ]; then
|
||||
echo "Bad Action $action"
|
||||
|
|
@ -42,8 +42,12 @@ if [ ! "$arduino" == "" ] && [ ! "$arduino" == "null" ]; then
|
|||
export AR_BRANCH="$arduino"
|
||||
fi
|
||||
|
||||
if [ "$action" == "deploy" ]; then
|
||||
DEPLOY_OUT=1
|
||||
fi
|
||||
|
||||
source ./build.sh
|
||||
|
||||
if [ "$action" == "deploy" ]; then
|
||||
bash ./tools/push-to-arduino.sh
|
||||
fi
|
||||
# if [ "$action" == "deploy" ]; then
|
||||
# bash ./tools/push-to-arduino.sh
|
||||
# fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue