Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pigreco committed Sep 30, 2023
2 parents de19c9d + 5fc9f3c commit 4b39d31
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 16 deletions.
53 changes: 38 additions & 15 deletions .github/workflows/gh-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,52 @@
name: gh-deploy


name: gh-deploy
on:
push:
branches:
- main
workflow_dispatch:

paths:
- docs/**
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
sparse-checkout: |
docs
includes
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install markdown>=3.2
- run: pip install mkdocs>=1.2.3
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: pip install mkdocs-material-extensions>=1.0
# - run: pip install mkdocs-macros-plugin
- run: pip install requests_oauthlib
- run: pip install click
- run: pip install click-plugins
- run: pip install click-config-file
- run: pip install pytest
- run: pip install mkdocs
- run: pip install mkdocstrings
- run: pip install mkdocs-click
- run: pip install Pygments>=2.4
- run: pip install pymdown-extensions>=9.0
- run: pip install pygments
- run: pip install pymdown-extensions
- run: pip install mkdocs-autolinks-plugin
- run: pip install mkdocs-jupyter
- run: pip install mkdocs-exclude
- run: pip install mkdocs-exclude-search
- run: pip install mkdocs-macros-plugin
- run: pip install mkdocs-print-site-plugin
- run: pip install mkdocs-pdf-export-plugin
- run: pip install mkdocs-git-revision-date-localized-plugin
- run: pip install mkdocs-windmill
- run: pip install mkdocs-img2fig-plugin
- run: pip install mkdocs-rss-plugin
# - run: pip install mkdocs-mermaid2-plugin
- run: pip install pillow cairosvg
- run: mkdocs gh-deploy --force
2 changes: 1 addition & 1 deletion docs/LICENSE_my.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
La licenza di questo sito (dati e immagini) fa riferimento alla [CC-BY-SA-4.0](https://creativecommons.org/licenses/by-sa/4.0/) eccezion fatta per:

1. la sezione [Esempi svolti](./esempi/lista_esempi.md) e tutti gli esercizi svolti, dove la licenza è [CC-BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/);
2. [Provaci tu](./mettiti_alla_prova.md), dove la licenza è [CC-BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).
2. [Provaci tu](./mettiti_alla_prova.md), dove la licenza è [CC-BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).

0 comments on commit 4b39d31

Please sign in to comment.