From fbf9b49248178c76f1f3f7436674e239d27032ac Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 25 Apr 2024 08:59:44 +0200 Subject: [PATCH] feat: add git install and pull to pdoc workflow 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. --- .forgejo/workflows/pdoc.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/pdoc.yml b/.forgejo/workflows/pdoc.yml index d28ea87..db90b5a 100644 --- a/.forgejo/workflows/pdoc.yml +++ b/.forgejo/workflows/pdoc.yml @@ -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: |