Update .gitlab-ci.yml file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user