Update start.sh

This commit is contained in:
Adam Dobrawy 2019-08-24 13:31:16 +02:00
parent e4be47005b
commit f26d4a7a9f

View File

@ -1,5 +1,6 @@
#!/bin/sh
set -eux
echo "Push to branch $BRANCH";
header=$(echo -n "ad-m:$INPUT_REPO_TOKEN" | base64)
header=$(echo -n "ad-m:${INPUT_REPO-TOKEN}" | base64)
git -c http.extraheader="AUTHORIZATION: basic $header" push origin refs/remotes/origin/master:master;