Badges: fetch all branches from origin before checking out the staging branch

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-07-04 07:46:19 +02:00
parent fb60871402
commit 9d431a0b0b
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -10,6 +10,7 @@ if [ ! -d "$DIR/.git" ]; then
fi
git config --global --add safe.directory $DIR
git fetch origin
{% if env == 'staging' %}
git -C $DIR checkout staging
{% endif %}