Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Merge pull request #1454 from mickhawkins/main #1219

Merge pull request #1454 from mickhawkins/main

Merge pull request #1454 from mickhawkins/main #1219

name: "CI - Push the list of migrated pages to WikiMedia"
on:
push:
branches:
- main
workflow_dispatch:
inputs:
debug:
type: boolean
required: false
description: 'Set the debug mode'
jobs:
run:
# Only run on the canonical repository.
if: github.repository == 'moodle/devdocs'
name: Push migated pages to Wikimedia
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
- name: Install dependencies
run: yarn install --immutable
- name: Run update script
run: yarn wikimedia-sync push-migrated
env:
DEBUG: ${{ github.event.inputs.debug }}
WIKIMEDIA_DEBUG: ${{ github.event.inputs.debug }}
WIKIMEDIA_SECRET: ${{ secrets.WIKIMEDIA_PASSWORD }}
WIKIMEDIA_USER: ${{ secrets.WIKIMEDIA_USER }}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.