This action is made for upload lua module to mediawiki instance.
Required A mediawiki instance url to upload text
Required A mediawiki instance username
Required A mediawiki instance password
Required A file path of upload text
Required A page name to edit on mediawiki
An user-agent to communicate mediawiki
A summary to publish on mediawiki. Formatting supported.
Name | Content |
---|---|
{title} |
pagename |
{commit} |
github.context.sha or current commit of action |
Default 'Editing wiki page by action with {commit}'
uses: ShinyColorsWiki/github-actions-mediawiki-uploader@v1
with:
mediawiki_api_url: "https://mediawiki.org/w/api.php"
username: ${{ secrets.BOT_USERNAME }}
password: ${{ secrets.BOT_PASSWORD }}
filepath: ${{ matrix.file }}
pagename: ${{ matrix.wiki }}
useragent: ${{ secrets.BOT_USERAGENT }}
summary: 'Editing {title} page by Github Action by {commit}.'