From c9bf372ec7e37a2484b9d7a0b165c9e4274224c5 Mon Sep 17 00:00:00 2001 From: Foe Date: Tue, 26 Nov 2024 21:27:20 +0100 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..3536d44 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,34 @@ +name: Build LS files + +on: + push: + workflow_call: + +jobs: + build-ls-files: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + + - name: Clone Eluna documentation repository + uses: actions/checkout@v4 + with: + repository: ElunaLuaEngine/ElunaLuaEngine.github.io + path: docs + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + architecture: 'x64' + + - name: Install Python dependencies + run: pip install beautifulsoup4 + + - name: Create build directory + run: mkdir -p ./build + + - name: Compile LS files + run: | + bash runParser.sh ./parser.py ./docs ./build