Fix bug
This commit is contained in:
parent
e70a85821f
commit
8c3b881ee6
@ -7,11 +7,11 @@ runs:
|
||||
- run: |
|
||||
set -e
|
||||
basicauth=$(echo -n "x-access-token:${{ github.token }}" | base64)
|
||||
git init
|
||||
echo "git config --local http.$GITHUB_SERVER_URL.extraheader \"Authorization: basic [...]\""
|
||||
git config --local http.$GITHUB_SERVER_URL.extraheader "Authorization: basic ${basicauth}"
|
||||
|
||||
set -x
|
||||
git init
|
||||
git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY"
|
||||
git fetch --quiet origin "$GITHUB_REF"
|
||||
git checkout "$GITHUB_REF_NAME"
|
||||
|
Loading…
x
Reference in New Issue
Block a user