π chore: make minor changes #144
This file contains hidden or 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/[email protected] | |
- 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/[email protected] | |
with: | |
branch: main | |
folder: docs |