Remove Lua Dev Env Modules #1
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: Remove Lua Dev Env Modules | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| luadevenv: | |
| description: 'Lua Dev Enviroment name' | |
| required: true | |
| includecommons: | |
| description: 'Include Commons' | |
| type: boolean | |
| default: true | |
| includesubenvs: | |
| description: 'Include sub envs (e.g. hjp includes hjp2)' | |
| type: boolean | |
| jobs: | |
| removedev: | |
| name: Remove Dev Env | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.14' | |
| - name: Install Python Dependency | |
| run: pip install requests | |
| - name: Remove Lua Dev Env Modules | |
| env: | |
| WIKI_USER: ${{ secrets.LP_BOTUSER }} | |
| WIKI_PASSWORD: ${{ secrets.LP_BOTPASSWORD }} | |
| WIKI_UA_EMAIL: ${{ secrets.LP_UA_EMAIL }} | |
| WIKI_BASE_URL: ${{ secrets.LP_BASE_URL }} | |
| LUA_DEV_ENV_NAME: "dev/${{ github.event.inputs.luadevenv }}" | |
| INCLUDE_COMMONS: ${{ github.event.inputs.includecommons }} | |
| INCLUDE_SUB_ENVS: ${{ github.event.inputs.includesubenvs }} | |
| PYTHONUNBUFFERED: 1 | |
| run: python3 ./scripts/remove_dev.py |