diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b701456..6ac95a2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,6 +21,7 @@ jobs: run: mkdir -p docs/references - name: Process markdown files run: | + mkdir -p docs find src -type f -name "*.lua" | while read file; do filename=$(basename "$file") lua markdown.lua "$file" "docs/references/${filename%.lua}.md" @@ -30,4 +31,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/references \ No newline at end of file + publish_dir: ./docs \ No newline at end of file