Skip to content

Commit 7f77d44

Browse files
committed
Update start.sh
1 parent af9fa9e commit 7f77d44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Git Push'
22
description: 'Pushing to Git repository local changes'
33
author: 'ad-m'
44
inputs:
5-
repo-token:
5+
github_token:
66
description: 'Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
77
required: true
88
branch:

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
set -eux
33
echo "Push to branch ${INPUT_BRANCH}";
44

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

0 commit comments

Comments
 (0)