Skip to content
Snippets Groups Projects
Commit 541b9522 authored by Dimitrios Giannopoulos's avatar Dimitrios Giannopoulos
Browse files

used rebase to avoid pushed branch behind remote error

parent eab8dcf1
No related branches found
No related tags found
No related merge requests found
Pipeline #4229 failed
......@@ -14,6 +14,7 @@ pages:
- git fetch origin $PAGES_BRANCH && git checkout -b $PAGES_BRANCH origin/$PAGES_BRANCH || git checkout $PAGES_BRANCH || echo "Pages branch not deployed yet."
- git checkout $CI_COMMIT_SHA
script:
- git pull origin $PAGES_BRANCH --rebase
- >
if [ -n "$CI_COMMIT_TAG" ]; then
mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u $CI_COMMIT_TAG $CI_COMMIT_TAG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment