ci: trim newlines from token
This commit is contained in:
@@ -20,7 +20,8 @@ jobs:
|
||||
TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||
run: |
|
||||
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
|
||||
uses: actions/setup-node@v3
|
||||
|
||||
Reference in New Issue
Block a user