fix: Use hardcoded repository URL instead of gitea context variable
This commit is contained in:
parent
8a70e4aad1
commit
5951e2a89a
@ -39,7 +39,11 @@ jobs:
|
|||||||
# Navigate to deployment directory
|
# Navigate to deployment directory
|
||||||
cd /opt/littleshop
|
cd /opt/littleshop
|
||||||
|
|
||||||
# Pull latest code
|
# Clone or pull latest code
|
||||||
|
if [ ! -d .git ]; then
|
||||||
|
echo "Cloning repository..."
|
||||||
|
git clone https://git.silverlabs.uk/Jamie/littleshop.git .
|
||||||
|
fi
|
||||||
echo "Pulling latest code from git..."
|
echo "Pulling latest code from git..."
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git checkout $VERSION || git checkout main
|
git checkout $VERSION || git checkout main
|
||||||
@ -177,7 +181,7 @@ jobs:
|
|||||||
# Clone or pull latest code
|
# Clone or pull latest code
|
||||||
if [ ! -d .git ]; then
|
if [ ! -d .git ]; then
|
||||||
echo "Cloning repository..."
|
echo "Cloning repository..."
|
||||||
git clone ${{ gitea.repositoryUrl }} .
|
git clone https://git.silverlabs.uk/Jamie/littleshop.git .
|
||||||
fi
|
fi
|
||||||
echo "Pulling latest code from git..."
|
echo "Pulling latest code from git..."
|
||||||
git fetch origin
|
git fetch origin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user