From 76b3d5603a82f9779e80164cdaf3cad8f4dc582d Mon Sep 17 00:00:00 2001 From: Robert Jelic Date: Sun, 9 Feb 2025 19:04:22 +0100 Subject: [PATCH] Test --- .github/workflows/docs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b840011..e8379e2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,8 +30,8 @@ jobs: echo "Running LDoc..." ldoc . --dir out --ext md --verbose - echo "Moving markdown files..." - mv basalt.md manual.md README.md out/ 2>/dev/null || true + echo "Moving generated markdown files..." + find . -maxdepth 1 -type f -name "*.md" ! -path "./out/*" -exec mv {} out/ \; echo "Final output directory contents:" ls -la out/ @@ -39,7 +39,6 @@ jobs: if [ -z "$(ls -A out/)" ]; then echo "Error: No documentation files were generated!" exit 1 - fi - name: Deploy if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} uses: peaceiris/actions-gh-pages@v3