ci: trim newlines from token
This commit is contained in:
@@ -20,7 +20,8 @@ jobs:
|
|||||||
TOKEN: ${{ secrets.GIT_TOKEN }}
|
TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
apk add --no-cache git
|
apk add --no-cache git
|
||||||
git clone "http://oauth2:${TOKEN}@gitea:3000/AVTEX/XFlow.git" .
|
CLEAN_TOKEN=$(printf '%s' "${TOKEN}" | tr -d '\r\n')
|
||||||
|
git clone "http://oauth2:${CLEAN_TOKEN}@gitea:3000/AVTEX/XFlow.git" .
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user