Skip to content

Commit

Permalink
Merge pull request #2 from garethjevans/patch-1
Browse files Browse the repository at this point in the history
Use the GITHUB_SERVER_URL variable to determine the remote
  • Loading branch information
psycofdj authored Nov 18, 2021
2 parents 52fda89 + e95c967 commit 5e4babf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ "${name}" = "null" ]; then
name=$(yq -r .name config/final.yml)
fi

remote_repo="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
remote_repo="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git"

# configure git
git config --global user.name "actions/bosh-releaser@v1"
Expand Down

0 comments on commit 5e4babf

Please sign in to comment.