Skip to content

Commit

Permalink
Update start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-m committed Aug 24, 2019
1 parent af9fa9e commit 7f77d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Git Push'
description: 'Pushing to Git repository local changes'
author: 'ad-m'
inputs:
repo-token:
github_token:
description: 'Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
required: true
branch:
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -eux
echo "Push to branch ${INPUT_BRANCH}";

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

0 comments on commit 7f77d44

Please sign in to comment.