Skip to content

πŸŽ„ chore: fix GitHub Pages Deploy Action version in workflow #140

πŸŽ„ chore: fix GitHub Pages Deploy Action version in workflow

πŸŽ„ chore: fix GitHub Pages Deploy Action version in workflow #140

Workflow file for this run

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