Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f26d4a7

Browse files
committed
Update start.sh
1 parent e4be470 commit f26d4a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

start.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/sh
2+
set -eux
23
echo "Push to branch $BRANCH";
34

4-
header=$(echo -n "ad-m:$INPUT_REPO_TOKEN" | base64)
5+
header=$(echo -n "ad-m:${INPUT_REPO-TOKEN}" | base64)
56
git -c http.extraheader="AUTHORIZATION: basic $header" push origin refs/remotes/origin/master:master;

0 commit comments

Comments
 (0)