mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-25 08:12:33 +02:00
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/deploy-pages/releases">actions/deploy-pages's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h1>Changelog</h1> <ul> <li>Update action to node20 <a href="https://github.com/takost"><code>@takost</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/256">#256</a>)</li> </ul> <hr /> <p>See details of <a href="https://github.com/actions/deploy-pages/compare/v2.0.5...v3.0.0">all code changes</a> since previous release.</p> <p>⚠️ For use with products other than GitHub.com, such as GitHub Enterprise Server, please consult the <a href="https://github.com/actions/deploy-pages/#compatibilty">compatibility table</a>.</p> <h2>v2.0.5</h2> <h1>Changelog</h1> <ul> <li>Bump prettier from 3.0.0 to 3.1.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/264">#264</a>)</li> <li>Bump <code>@octokit/request-error</code> from 5.0.0 to 5.0.1 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/263">#263</a>)</li> <li>Bump <code>@actions/http-client</code> from 2.1.0 to 2.2.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/262">#262</a>)</li> <li>Bump <code>@vercel/ncc</code> from 0.36.1 to 0.38.1 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/260">#260</a>)</li> <li>Bump eslint from 8.44.0 to 8.54.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/257">#257</a>)</li> <li>Bump nock from 13.3.1 to 13.3.8 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/254">#254</a>)</li> <li>Bump actions/setup-node from 3 to 4 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/246">#246</a>)</li> <li>Bump release-drafter/release-drafter from 5.24.0 to 5.25.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/245">#245</a>)</li> <li>Bump eslint-plugin-github from 4.8.0 to 4.10.1 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/232">#232</a>)</li> <li>Bump jest from 29.6.1 to 29.7.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/224">#224</a>)</li> <li>Fix cosmetic error by replacing comma with period <a href="https://github.com/JamesMGreene"><code>@JamesMGreene</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/210">#210</a>)</li> <li>Bump actions/checkout from 3 to 4 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/220">#220</a>)</li> <li>Bump eslint-config-prettier from 8.8.0 to 9.0.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/209">#209</a>)</li> <li>Remove "beta" disclaimer from README <a href="https://github.com/JamesMGreene"><code>@JamesMGreene</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/243">#243</a>)</li> </ul> <hr /> <p>See details of <a href="https://github.com/actions/deploy-pages/compare/v2.0.4...v2.0.5">all code changes</a> since previous release.</p> <p>⚠️ For use with products other than GitHub.com, such as GitHub Enterprise Server, please consult the <a href="https://github.com/actions/deploy-pages/#compatibilty">compatibility table</a>.</p> <h2>v2.0.4</h2> <h1>Changelog</h1> <ul> <li>Update GHES compatibility table after verifying with <code>3.9.x</code> <a href="https://github.com/JamesMGreene"><code>@JamesMGreene</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/201">#201</a>)</li> <li>Bump <code>@octokit/request-error</code> from 4.0.1 to 5.0.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/194">#194</a>)</li> <li>Bump prettier from 2.8.8 to 3.0.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/196">#196</a>)</li> <li>Bump jest from 29.5.0 to 29.6.1 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/195">#195</a>)</li> <li>Bump release-drafter/release-drafter from 5.23.0 to 5.24.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/192">#192</a>)</li> <li>Bump eslint from 8.42.0 to 8.44.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/191">#191</a>)</li> <li>Remove circular JSON references for error debugging <a href="https://github.com/JamesMGreene"><code>@JamesMGreene</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/197">#197</a>)</li> </ul> <hr /> <p>See details of <a href="https://github.com/actions/deploy-pages/compare/v2.0.3...v2.0.4">all code changes</a> since previous release.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="77d7344265
"><code>77d7344</code></a> Merge pull request <a href="https://redirect.github.com/actions/deploy-pages/issues/256">#256</a> from takost/update-to-node-20</li> <li><a href="84abb89dc5
"><code>84abb89</code></a> Merge branch 'main' into update-to-node-20</li> <li>See full diff in <a href="https://github.com/actions/deploy-pages/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
name: Documentation-Action
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
types: [reopened, opened, synchronize]
|
|
|
|
jobs:
|
|
doc-build:
|
|
name: Doc-Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install prior to running the process
|
|
run: |
|
|
sudo apt install pandoc snapd -y
|
|
sudo snap install drawio
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: 3.11
|
|
- name: Install and configure Poetry
|
|
uses: snok/install-poetry@v1
|
|
with:
|
|
version: 1.6.1
|
|
virtualenvs-create: false
|
|
- name: Poetry install
|
|
run: poetry install --with doc --all-extras --without test,lint
|
|
- name: Doc-Build
|
|
run: |
|
|
cd documentations
|
|
sphinx-apidoc -o . ../src/aki_prj23_transparenzregister -feP
|
|
make html
|
|
- name: Package artifact
|
|
uses: actions/upload-pages-artifact@v2
|
|
with:
|
|
path: documentations/_build/html/
|
|
|
|
doc-deploy:
|
|
name: Doc-Deployment
|
|
runs-on: ubuntu-latest
|
|
needs: doc-build
|
|
permissions:
|
|
pages: write
|
|
id-token: write
|
|
concurrency:
|
|
group: pages
|
|
cancel-in-progress: false
|
|
if: github.ref == 'refs/heads/main'
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
steps:
|
|
- run: echo "Deployment URL = ${{ steps.deployment.outputs.page_url }}"
|
|
- uses: actions/download-artifact@v3
|
|
with:
|
|
name: github-pages
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v3
|
|
with:
|
|
artifact_name: github-pages
|