Skip to content

Commit 1780271

Browse files
committed
Update deploy and dispatch scripts to match v5.1
1 parent 72d50f4 commit 1780271

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

Diff for: tools/cron.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ if [ ! "$GITHUB_EVENT_NAME" == "schedule" ]; then
66
fi
77

88
git checkout "$IDF_BRANCH" #local branches should match what the matrix wants to build
9+
DEPLOY_OUT=1
910
source ./build.sh
10-
bash ./tools/push-to-arduino.sh
11+
# bash ./tools/push-to-arduino.sh

Diff for: tools/repository_dispatch.sh

+8-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ commit=`echo "$payload" | jq -r '.commit'`
1414
builder=`echo "$payload" | jq -r '.builder'`
1515
arduino=`echo "$payload" | jq -r '.arduino'`
1616

17-
echo "Action: $action, Branch: $branch, Tag: $tag, Commit: $commit, Builder: $builder, Arduino: $arduino"
17+
echo "Action: $action, Branch: $branch, Tag: $tag, Commit: $commit, Builder: $builder, Arduino: $arduino, Actor: $GITHUB_ACTOR"
1818

1919
if [ ! "$action" == "deploy" ] && [ ! "$action" == "build" ]; then
2020
echo "Bad Action $action"
@@ -42,8 +42,12 @@ if [ ! "$arduino" == "" ] && [ ! "$arduino" == "null" ]; then
4242
export AR_BRANCH="$arduino"
4343
fi
4444

45-
source ./build.sh
46-
4745
if [ "$action" == "deploy" ]; then
48-
bash ./tools/push-to-arduino.sh
46+
DEPLOY_OUT=1
4947
fi
48+
49+
source ./build.sh
50+
51+
# if [ "$action" == "deploy" ]; then
52+
# bash ./tools/push-to-arduino.sh
53+
# fi

0 commit comments

Comments
 (0)