2019-08-24 13:31:16 +02:00

6 lines
206 B
Bash
Executable File

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