Skip to content

Commit 36024bb

Browse files
committed
update workflows
1 parent 4efce25 commit 36024bb

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/delete dev env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
LUA_DEV_ENV_NAME: "dev/${{ github.event.inputs.luadevenv }}"
3434
INCLUDE_COMMONS: ${{ github.event.inputs.includecommons }}
3535
INCLUDE_SUB_ENVS: ${{ github.event.inputs.includesubenvs }}
36-
run: bash scripts/remove_dev.sh
36+
run: python3 ./scripts/remove_dev.py

.github/workflows/deploy test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646
WIKI_UA_EMAIL: ${{ secrets.LP_UA_EMAIL }}
4747
WIKI_BASE_URL: ${{ secrets.LP_BASE_URL }}
4848
LUA_DEV_ENV_NAME: "/dev/${{ github.event.inputs.luadevenv }}"
49-
run: python3 scripts/deploy.py ${{ steps.changed-files.outputs.all_changed_files }}
49+
run: python3 ./scripts/deploy.py ${{ steps.changed-files.outputs.all_changed_files }}

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
WIKI_UA_EMAIL: ${{ secrets.LP_UA_EMAIL }}
4949
WIKI_BASE_URL: ${{ secrets.LP_BASE_URL }}
5050
DEPLOY_TRIGGER: ${{ github.event_name }}
51-
run: python3 scripts/deploy_res.py ${{ steps.res-changed-files.outputs.all_changed_files }}
51+
run: python3 ./scripts/deploy_res.py ${{ steps.res-changed-files.outputs.all_changed_files }}
5252

5353
- name: Lua Deploy
5454
if: steps.lua-changed-files.outputs.any_changed == 'true'
@@ -58,7 +58,7 @@ jobs:
5858
WIKI_UA_EMAIL: ${{ secrets.LP_UA_EMAIL }}
5959
WIKI_BASE_URL: ${{ secrets.LP_BASE_URL }}
6060
DEPLOY_TRIGGER: ${{ github.event_name }}
61-
run: python3 scripts/deploy.py ${{ steps.lua-changed-files.outputs.all_changed_files }}
61+
run: python3 ./scripts/deploy.py ${{ steps.lua-changed-files.outputs.all_changed_files }}
6262

6363
- name: Lua Protect
6464
if: steps.lua-changed-files.outputs.added_files_count != 0 || steps.lua-changed-files.outputs.renamed_files_count != 0
@@ -67,4 +67,4 @@ jobs:
6767
WIKI_PASSWORD: ${{ secrets.LP_BOTPASSWORD }}
6868
WIKI_UA_EMAIL: ${{ secrets.LP_UA_EMAIL }}
6969
WIKI_BASE_URL: ${{ secrets.LP_BASE_URL }}
70-
run: python3 scripts/protect.py ${{ steps.lua-changed-files.outputs.added_files }} ${{ steps.lua-changed-files.outputs.renamed_files }}
70+
run: python3 ./scripts/protect.py ${{ steps.lua-changed-files.outputs.added_files }} ${{ steps.lua-changed-files.outputs.renamed_files }}

.github/workflows/protect new wiki modules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
WIKI_UA_EMAIL: ${{ secrets.LP_UA_EMAIL }}
3333
WIKI_BASE_URL: ${{ secrets.LP_BASE_URL }}
3434
WIKI_TO_PROTECT: ${{ github.event.inputs.wiki }}
35-
run: python3 scripts/protect.py
35+
run: python3 ./scripts/protect.py

.github/workflows/protect new wiki templates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
WIKI_UA_EMAIL: ${{ secrets.LP_UA_EMAIL }}
3333
WIKI_BASE_URL: ${{ secrets.LP_BASE_URL }}
3434
WIKI_TO_PROTECT: ${{ github.event.inputs.wiki }}
35-
run: python3 scripts/protect_templates.py
35+
run: python3 ./scripts/protect_templates.py

.github/workflows/scheduled.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
WIKI_UA_EMAIL: ${{ secrets.LP_UA_EMAIL }}
3232
WIKI_BASE_URL: ${{ secrets.LP_BASE_URL }}
3333
DEPLOY_TRIGGER: ${{ github.event_name }}
34-
run: python3 scripts/deploy_res.py
34+
run: python3 ./scripts/deploy_res.py
3535

3636
- name: Lua Deploy
3737
env:
@@ -40,4 +40,4 @@ jobs:
4040
WIKI_UA_EMAIL: ${{ secrets.LP_UA_EMAIL }}
4141
WIKI_BASE_URL: ${{ secrets.LP_BASE_URL }}
4242
DEPLOY_TRIGGER: ${{ github.event_name }}
43-
run: python3 scripts/deploy.py
43+
run: python3 ./scripts/deploy.py

0 commit comments

Comments
 (0)