Skip to content
Snippets Groups Projects
Commit cb5bc2f5 authored by Aymeric Chaumont's avatar Aymeric Chaumont
Browse files

added pull operation before checkout in CI

parent 074fc7c4
No related branches found
No related tags found
1 merge request!34add staging deployment to CI
Pipeline #44334 passed
...@@ -154,6 +154,7 @@ lint-front: ...@@ -154,6 +154,7 @@ lint-front:
ssh "eatfast@$DOMAIN" ssh "eatfast@$DOMAIN"
"cd /var/www/eatfast-website/backend && "cd /var/www/eatfast-website/backend &&
git stash && git stash &&
git pull &&
git checkout "$CI_COMMIT_BRANCH" && git checkout "$CI_COMMIT_BRANCH" &&
git stash && git stash &&
git pull && git pull &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment