feat: add git install and pull to pdoc workflow
Some checks failed
website / build (push) Failing after 20s
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:
parent
a0cc7a742b
commit
fbf9b49248
1 changed files with 5 additions and 1 deletions
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue