Update changelog.txt #959
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: 'Documentation CI + CD' | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - repentogon/resources/scripts/enums_ex.lua | |
| - docs/** | |
| permissions: | |
| contents: write | |
| pages: write | |
| id-token: write | |
| jobs: | |
| enums_update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| cache: 'pip' # caching pip dependencies | |
| - run: pip install zensical | |
| - name: Convert enums to mkdocs | |
| run: python ./tools/enums2mkdocs.py | |
| code_checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v2 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 16.x | |
| - name: Install dependencies | |
| run: npm install @actions/core | |
| - name: Run code checks | |
| run: node ./docs/scripts/code_checks.js | |
| shell: bash | |
| deployment: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/configure-pages@v5 | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.x | |
| - run: pip install zensical | |
| - run: zensical build --clean | |
| working-directory: ./docs | |
| - uses: actions/upload-pages-artifact@v4 | |
| with: | |
| path: docs/site | |
| - uses: actions/deploy-pages@v4 |