Merge pull request #1002 from aranda90/aranda90/redaccion_detalle #149
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 MkDocs Site | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
mkdocs-build-and-deploy: | |
if: github.repository == 'PJECZ/pjecz-plataforma-web' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install mkdocs mkdocs-material | |
- name: Build and deploy mkdocs site to gh-pages branch | |
run: mkdocs gh-deploy --force --clean --verbose |