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:
parent
fb60871402
commit
9d431a0b0b
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ if [ ! -d "$DIR/.git" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git config --global --add safe.directory $DIR
|
git config --global --add safe.directory $DIR
|
||||||
|
git fetch origin
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
git -C $DIR checkout staging
|
git -C $DIR checkout staging
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue