@@ -26,11 +26,11 @@ jobs:
|
|||||||
pwd
|
pwd
|
||||||
ls -la
|
ls -la
|
||||||
|
|
||||||
# If the repository is not already checked out, try a simple git approach
|
# If the repository is not already checked out, try using the external URL
|
||||||
if [ ! -f "README.md" ]; then
|
if [ ! -f "README.md" ]; then
|
||||||
echo "Repository not found, attempting simple git clone..."
|
echo "Repository not found, attempting git clone with external URL..."
|
||||||
git config --global http.sslverify false
|
git config --global http.sslverify false
|
||||||
git clone ${{ github.server_url }}/${{ github.repository }}.git .
|
git clone https://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git .
|
||||||
git checkout ${{ github.sha }}
|
git checkout ${{ github.sha }}
|
||||||
else
|
else
|
||||||
echo "Repository already available in workspace"
|
echo "Repository already available in workspace"
|
||||||
@@ -129,11 +129,11 @@ jobs:
|
|||||||
pwd
|
pwd
|
||||||
ls -la
|
ls -la
|
||||||
|
|
||||||
# If the repository is not already checked out, try a simple git approach
|
# If the repository is not already checked out, try using the external URL
|
||||||
if [ ! -f "README.md" ]; then
|
if [ ! -f "README.md" ]; then
|
||||||
echo "Repository not found, attempting simple git clone..."
|
echo "Repository not found, attempting git clone with external URL..."
|
||||||
git config --global http.sslverify false
|
git config --global http.sslverify false
|
||||||
git clone ${{ github.server_url }}/${{ github.repository }}.git .
|
git clone https://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git .
|
||||||
git checkout ${{ github.sha }}
|
git checkout ${{ github.sha }}
|
||||||
else
|
else
|
||||||
echo "Repository already available in workspace"
|
echo "Repository already available in workspace"
|
||||||
|
|||||||
Reference in New Issue
Block a user