feat: add git install and pull to pdoc workflow
Some checks failed
website / build (push) Failing after 20s

This update modifies the pdoc workflow by adding git to the list of installed dependencies and incorporating a step to perform a `git pull`. The inclusion of git ensures that the latest version of the codebase is always used for generating documentation, enhancing the accuracy and relevance of the output. The change acknowledges the critical role of version control in continuous integration environments and aims to reduce discrepancies between the documentation and the codebase.

By ensuring the documentation is always in sync with the latest code, this adjustment helps to prevent confusion and fosters better understanding and usage of the software by end users and contributors alike.
This commit is contained in:
Kumi 2024-04-25 08:59:44 +02:00
parent a0cc7a742b
commit fbf9b49248
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -22,7 +22,11 @@ jobs:
- name: Install dependencies
run: |
apt update
apt install -y python3 python3-pip
apt install -y python3 python3-pip git
- name: Git pull
run: |
git pull
- name: Install Python dependencies
run: |