Add documentation on Polymorphism and Class Relationships #23
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: Deploy MkDocs to GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| # Permite disparar el workflow manualmente desde la UI de GitHub | |
| workflow_dispatch: | |
| permissions: | |
| contents: write # Necesario para hacer push a gh-pages | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout del repositorio | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Historial completo (necesario para git-revision-date) | |
| - name: Configurar Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Instalar dependencias de MkDocs | |
| run: | | |
| pip install \ | |
| mkdocs-material \ | |
| mkdocs-material[imaging] | |
| - name: Build y deploy a gh-pages | |
| run: mkdocs gh-deploy --force |