Skip to content
Snippets Groups Projects
Commit 7c26848d authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

Update .gitlab-ci.yml file

parent dc881a60
No related branches found
No related tags found
No related merge requests found
Pipeline #7927 passed
...@@ -19,7 +19,10 @@ pages: ...@@ -19,7 +19,10 @@ pages:
mike set-default --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH latest mike set-default --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH latest
elif [ "$CI_COMMIT_REF_NAME" == "develop" ]; then elif [ "$CI_COMMIT_REF_NAME" == "develop" ]; then
mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u $CI_COMMIT_BRANCH mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u $CI_COMMIT_BRANCH
elif [ -n "$CI_CLEAN"]; then
rm -rf public/$CI_CLEAN
fi fi
- git checkout $PAGES_BRANCH -- public/ - git checkout $PAGES_BRANCH -- public/
artifacts: artifacts:
paths: paths:
......
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