This commit is contained in:
@@ -44,7 +44,6 @@ steps:
|
|||||||
ZONE=$(cat /drone/src/install.sh | base64 -w0)
|
ZONE=$(cat /drone/src/install.sh | base64 -w0)
|
||||||
DATA=$(printf '{"message": "Modifying install.sh", "sha": "'$SHA'", "content": "%s", "branch": "main"}' "$ZONE")
|
DATA=$(printf '{"message": "Modifying install.sh", "sha": "'$SHA'", "content": "%s", "branch": "main"}' "$ZONE")
|
||||||
curl -X PUT -s -H "Authorization: token $TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" -d "$DATA" $URL
|
curl -X PUT -s -H "Authorization: token $TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" -d "$DATA" $URL
|
||||||
echo $ZONE
|
|
||||||
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
@@ -84,7 +84,6 @@ ask_envs() {
|
|||||||
break;
|
break;
|
||||||
fi
|
fi
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
done;
|
done;
|
||||||
|
|
||||||
if [ "$VPN_PROXY" == "yes" ]; then
|
if [ "$VPN_PROXY" == "yes" ]; then
|
||||||
|
Reference in New Issue
Block a user