From 50fa5f9fb674eceb549afade97e9bacfb1c51d94 Mon Sep 17 00:00:00 2001 From: xiplus Date: Sun, 14 Jan 2024 15:27:28 +0800 Subject: [PATCH] Deploy css --- .github/workflows/deploy.yml | 2 +- spihelper.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a1b6f6c..0ea3fa6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,4 +43,4 @@ jobs: echo "('Xiplus', BotPassword('${BOT_NAME}', '${BOT_PASS}'))" > user-password.py chmod 600 user-password.py python3 deploy.py --file spihelper.js --target User:Xiplus/js/spihelper.js --summary "${{ steps.vars.outputs.sha_short }} ${{ github.event.head_commit.message }}" - # python3 deploy.py --file spihelper.css --target User:Xiplus/js/spihelper.css --summary "${{ steps.vars.outputs.sha_short }} ${{ github.event.head_commit.message }}" + python3 deploy.py --file spihelper.css --target User:Xiplus/js/spihelper.css --summary "${{ steps.vars.outputs.sha_short }} ${{ github.event.head_commit.message }}" diff --git a/spihelper.js b/spihelper.js index c6f8e4a..f34509c 100644 --- a/spihelper.js +++ b/spihelper.js @@ -8,7 +8,7 @@ /* global mw, $, displayMessage, spiHelperCustomOpts, wgULS */ // Adapted from [[User:Mr.Z-man/closeAFD]] -mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:GeneralNotability/spihelper.css&action=raw&ctype=text/css', 'text/css') +mw.loader.load('https://zh.wikipedia.org/w/index.php?title=User:Xiplus/js/spihelper.css&action=raw&ctype=text/css', 'text/css') mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Timotheus_Canens/displaymessage.js&action=raw&ctype=text/javascript') // Typedefs