LuaLS Test

This commit is contained in:
Robert Jelic
2025-02-10 16:47:00 +01:00
parent d55a80dc0e
commit 2b8a0764bc
15 changed files with 589 additions and 16 deletions

View File

@@ -26,16 +26,16 @@ jobs:
with:
ref: gh-pages
path: build_docs
- name: Prepare content directory
- name: Prepare references directory
run: |
mkdir -p build_docs/docs
rm -rf build_docs/docs/content
mkdir -p build_docs/docs/content
rm -rf build_docs/docs/references
mkdir -p build_docs/docs/references
- name: Process markdown files
run: |
find src -type f -name "*.lua" | while read file; do
filename=$(basename "$file")
lua markdown.lua "$file" "build_docs/docs/content/${filename%.lua}.md"
lua markdown.lua "$file" "build_docs/docs/references/${filename%.lua}.md"
done
- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}