feat: add Nuitka build skill, update Nuitka to 4.0.1 #163
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Documentation | |
| on: | |
| push: | |
| branches: [ master, main ] | |
| paths: | |
| - 'docs/**' | |
| - 'README.md' | |
| - 'README.en.md' | |
| - 'schema/**' | |
| - 'tests/config/**' | |
| - '.github/workflows/build-docs.yml' | |
| pull_request: | |
| branches: [ master, main ] | |
| paths: | |
| - 'docs/**' | |
| - 'README.md' | |
| - 'README.en.md' | |
| - '.github/workflows/build-docs.yml' | |
| workflow_dispatch: | |
| permissions: | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| cache-dependency-path: 'docs/package.json' | |
| - name: Install dependencies | |
| working-directory: docs | |
| run: npm install | |
| - name: Build documentation | |
| working-directory: docs | |
| run: npm run build | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v4 | |
| with: | |
| path: docs/.vitepress/dist/ | |
| - name: Deploy to GitHub Pages | |
| if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |