Update start.sh

This commit is contained in:
Adam Dobrawy 2019-08-24 13:34:41 +02:00
parent f26d4a7a9f
commit af9fa9e17f

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
set -eux set -eux
echo "Push to branch $BRANCH"; echo "Push to branch ${INPUT_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; git -c http.extraheader="AUTHORIZATION: basic $header" push origin refs/remotes/origin/master:master;