fix(ci): use shallow clone to improve performance

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-01-25 12:42:45 -03:00
parent 64c4487b8e
commit 4e7db823ea
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ jobs:
- name: Setup Workspace - name: Setup Workspace
run: | run: |
git clone --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace git clone --depth 1 --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
rm -rf workspace/botserver rm -rf workspace/botserver
mv botserver workspace/botserver mv botserver workspace/botserver

View file

@ -231,7 +231,7 @@ When configuring CI/CD pipelines (e.g., Forgejo Actions):
```yaml ```yaml
- name: Setup Workspace - name: Setup Workspace
run: | run: |
git clone --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace git clone --depth 1 --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
rm -rf workspace/botserver rm -rf workspace/botserver
mv botserver workspace/botserver mv botserver workspace/botserver
``` ```