Test
This commit is contained in:
5
.github/workflows/docs.yml
vendored
5
.github/workflows/docs.yml
vendored
@@ -30,8 +30,8 @@ jobs:
|
|||||||
echo "Running LDoc..."
|
echo "Running LDoc..."
|
||||||
ldoc . --dir out --ext md --verbose
|
ldoc . --dir out --ext md --verbose
|
||||||
|
|
||||||
echo "Moving markdown files..."
|
echo "Moving generated markdown files..."
|
||||||
mv basalt.md manual.md README.md out/ 2>/dev/null || true
|
find . -maxdepth 1 -type f -name "*.md" ! -path "./out/*" -exec mv {} out/ \;
|
||||||
|
|
||||||
echo "Final output directory contents:"
|
echo "Final output directory contents:"
|
||||||
ls -la out/
|
ls -la out/
|
||||||
@@ -39,7 +39,6 @@ jobs:
|
|||||||
if [ -z "$(ls -A out/)" ]; then
|
if [ -z "$(ls -A out/)" ]; then
|
||||||
echo "Error: No documentation files were generated!"
|
echo "Error: No documentation files were generated!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user