fix: Remove oauth2 prefix for Gitea token authentication (Gitea uses different format than GitHub)
This commit is contained in:
parent
edffa1f249
commit
b6569154a4
@ -204,7 +204,7 @@ jobs:
|
|||||||
if [ ! -d .git ]; then
|
if [ ! -d .git ]; then
|
||||||
echo "Cloning repository with authentication..."
|
echo "Cloning repository with authentication..."
|
||||||
rm -rf * # Clean any existing files
|
rm -rf * # Clean any existing files
|
||||||
git clone https://oauth2:\${GITEA_TOKEN}@git.silverlabs.uk/Jamie/littleshop.git .
|
git clone https://\${GITEA_TOKEN}@git.silverlabs.uk/Jamie/littleshop.git .
|
||||||
else
|
else
|
||||||
echo "Repository already cloned, pulling latest..."
|
echo "Repository already cloned, pulling latest..."
|
||||||
git fetch origin
|
git fetch origin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user