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

added pull operation before checkout in CI

parent 002cab26
No related branches found
No related tags found
1 merge request!34add staging deployment to CI
...@@ -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