From 614e3ae5ecbe09b0fce38b8a50bfa2f3024ce02c Mon Sep 17 00:00:00 2001 From: Artem Krivopolenov Date: Wed, 2 Jul 2025 19:41:00 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 84fc357..9ebd2a2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,12 +34,6 @@ build-and-deploy: - echo "Cloning scripts from GitHub (private repo)" - git clone https://$GITHUB_TOKEN@github.com/$SCRIPTS_REPO.git scripts - # Debug: Check what was cloned - - echo "Contents of current directory:" - - ls -la - - echo "Contents of scripts directory:" - - ls -la scripts/ - # Install Zola - curl -L "https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz" | tar xz - mv zola /usr/local/bin @@ -50,7 +44,7 @@ build-and-deploy: - | echo "Script path: $(pwd)/scripts/Convert-ToZola.ps1" - test -f "./scripts/Convert-ToZola.ps1" && echo "Script exists" || echo "Script NOT found" - - pwsh -File "./scripts/Convert-ToZola.ps1" -MetadataPath "./" -ZolaContentPath "./template/content" + - pwsh -File "./scripts/ConvertTo-ZolaContent.ps1" -MetadataPath "./" -ZolaContentPath "./template/content" # Build Zola site - cd template