π chore: fix GitHub Pages Deploy Action version in workflow #140
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: Build and Deploy | |
on: [push, workflow_dispatch] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v2.3.1 | |
- name: Set up Python 3 π | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' # VersiΓ³n de Python a usar | |
architecture: 'x64' | |
- name: Update PIP β¨ | |
run: | | |
pip install -U wheel | |
pip install -U setuptools | |
python -m pip install -U pip | |
- name: Install requirements βοΈ | |
run: python -m pip install -r requirements.txt | |
- name: Run script π | |
env: | |
WEBLATE_API_TOKEN: ${{ secrets.WEBLATE_API_TOKEN }} | |
run: python static.py | |
- name: Deploy π | |
uses: JamesIves/github-pages-deploy-action@v4.7.1 | |
with: | |
branch: main | |
folder: docs |