diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index f46754fb4..a243a4a7c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -4,19 +4,19 @@ name: gh-pages on: push: - branches: [ "versione-corrente" ] + branches: ["versione-corrente"] paths-ignore: - - README.md - - CONTRIBUTING.md - - LICENSE.md - - .gitignore + - README.md + - CONTRIBUTING.md + - LICENSE.md + - .gitignore pull_request: branches: [ "*" ] paths-ignore: - - README.md - - CONTRIBUTING.md - - LICENSE.md - - .gitignore + - README.md + - CONTRIBUTING.md + - LICENSE.md + - .gitignore # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -35,8 +35,17 @@ jobs: - uses: actions/setup-python@v2 with: - python-version: '3.8' # Version range or exact version of a Python version to use, using SemVer's version range syntax - architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified + python-version: "3.8" # Version range or exact version of a Python version to use, using SemVer's version range syntax + architecture: "x64" # optional x64 or x86. Defaults to x64 if not specified + + - name: Install deps + run: |- + python -m pip install -r requirements-dev.txt + + - name: Build branch + run: |- + sphinx-build -b html docs/it/ html/${GITHUB_HEAD_REF}/it + sphinx-build -b html docs/en/ html/${GITHUB_HEAD_REF}/en - name: Install deps run: |- @@ -59,7 +68,7 @@ jobs:

Italian eIDAS Wallet Technical Specifications

- +