2019-08-24 13:34:41 +02:00

6 lines
214 B
Bash
Executable File

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