mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-24 17:12:34 +02:00
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 3 to 4. <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>v4.0.0</h2> <h1>Changelog</h1> <ul> <li>Deploy pages using artifact IDs <a href="https://github.com/konradpabjan"><code>@konradpabjan</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/251">#251</a>)</li> </ul> <hr /> <p>This version of <code>actions/deploy-pages</code> is only compatible with artifacts uploaded by <code>actions/upload-pages-artifact@v3</code> or newer.</p> <p>See details of <a href="https://github.com/actions/deploy-pages/compare/v3.0.1...v4.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>v3.0.1</h2> <h1>Changelog</h1> <ul> <li>Bump eslint from 8.54.0 to 8.55.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/266">#266</a>)</li> <li>Bump nock from 13.3.8 to 13.4.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/267">#267</a>)</li> <li>Bump eslint-config-prettier from 9.0.0 to 9.1.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/268">#268</a>)</li> <li>Bump <code>@actions/core</code> from 1.10.0 to 1.10.1 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/269">#269</a>)</li> <li>Bump <code>@actions/github</code> from 5.1.1 to 6.0.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/261">#261</a>)</li> <li>Update compatibility table for v3 <a href="https://github.com/JamesMGreene"><code>@JamesMGreene</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/270">#270</a>)</li> </ul> <h2>🧰 Maintenance</h2> <ul> <li>chore/docs: update version, fix typos <a href="https://github.com/kbdharun"><code>@kbdharun</code></a> (<a href="https://redirect.github.com/actions/deploy-pages/issues/272">#272</a>)</li> </ul> <hr /> <p>See details of <a href="https://github.com/actions/deploy-pages/compare/v3.0.0...v3.0.1">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> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="f33f41b675
"><code>f33f41b</code></a> Merge pull request <a href="https://redirect.github.com/actions/deploy-pages/issues/279">#279</a> from actions/artifacts-next-ga</li> <li><a href="0d45f33cde
"><code>0d45f33</code></a> pretty</li> <li><a href="d1e23d0efd
"><code>d1e23d0</code></a> Merge branch 'main' into artifacts-next-ga</li> <li>See full diff in <a href="https://github.com/actions/deploy-pages/compare/v3...v4">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@v4
|
|
with:
|
|
artifact_name: github-pages
|