Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Merge pull request #146 from TopRealm/ZoruaFox-patch-1 #184

Merge pull request #146 from TopRealm/ZoruaFox-patch-1

Merge pull request #146 from TopRealm/ZoruaFox-patch-1 #184

name: Sync Mediawiki Interface Codes
on:
workflow_dispatch:
push:
branches:
- master
paths:
- src/**/*.js
- src/**/*.css
- src/**/.options
# Disallow parallel running
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
sync_codes:
runs-on: ubuntu-latest
env:
MW_BOT_PASSWORD: ${{ secrets.MW_BOT_PASSWORD }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
- name: Synchronize with Mediawiki
run: |
pip install -r scripts/requirements.txt
python scripts/sync_mediawiki.py