forked from Liquipedia/Lua-Modules
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.23 KB
/
Copy pathdelete dev env.yml
File metadata and controls
45 lines (39 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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