Remove final newlines #131
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push to Wikipedia | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: 'x64' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install requests | |
- name: Push to Wikipedia | |
env: | |
ENWIKI_USER: ${{ secrets.USER }} | |
ENWIKI_PASS: ${{ secrets.PASS }} | |
GIT_MSG: ${{ github.event.head_commit.message }} | |
run: python .github/push.py |