parent
f1453b0c2f
commit
f5f216e0e8
1 changed files with 2 additions and 7 deletions
|
@ -6,15 +6,10 @@ jobs:
|
|||
image: git.php.fail/lubiana/container/php:8.2
|
||||
steps:
|
||||
- run: env | sort
|
||||
- run: /usr/bin/git config --global --add safe.directory $GITHUB_WORKSPACE
|
||||
- run: /usr/bin/git init $GITHUB_WORKSPACE
|
||||
- run: echo $GITHUB_WORKSPACE
|
||||
- run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
|
||||
- run: echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
|
||||
- run: echo $GITHUB_REF_NAME
|
||||
- run: echo $GITHUB_TOKEN
|
||||
- run: /usr/bin/git config --local gc.auto 0
|
||||
- run: /usr/bin/git config -l
|
||||
- run: "/usr/bin/git config --local http.extraheader \"AUTHORIZATION: basic $GITHUB_TOKEN\""
|
||||
- run: /usr/bin/git config -l
|
||||
- run: "/usr/bin/git config --local http.extraheader \"AUTHORIZATION: basic x-access-token:$GITHUB_TOKEN\""
|
||||
- run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME
|
||||
|
||||
|
|
Loading…
Reference in a new issue