wip
This commit is contained in:
@@ -22,4 +22,11 @@ jobs:
|
|||||||
else
|
else
|
||||||
echo "GITEA_TOKEN is EMPTY"
|
echo "GITEA_TOKEN is EMPTY"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Test Git authentication
|
||||||
|
env:
|
||||||
|
TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
run: |
|
||||||
|
git -c http.extraheader="Authorization: Bearer $TOKEN" \
|
||||||
|
ls-remote https://git.***-harat.com/OWNER/REPO.git
|
||||||
|
|||||||
Reference in New Issue
Block a user