fix: Remove oauth2 prefix for Gitea token authentication (Gitea uses different format than GitHub)
Some checks failed
Build and Deploy LittleShop / Deploy to Production VPS (Manual Only) (push) Has been skipped
Build and Deploy LittleShop / Deploy to Pre-Production (CT109) (push) Failing after 1s

This commit is contained in:
SysAdmin 2025-11-17 13:41:27 +00:00
parent edffa1f249
commit b6569154a4

View File

@ -204,7 +204,7 @@ jobs:
if [ ! -d .git ]; then
echo "Cloning repository with authentication..."
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
echo "Repository already cloned, pulling latest..."
git fetch origin