Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 9835fb30 authored by Deepak Khatri's avatar Deepak Khatri :dog:
Browse files

Fix "Edit on Gitlab" button

parent dc7a309b
No related merge requests found
Pipeline #4987 passed with stage
in 7 minutes and 47 seconds
......@@ -121,13 +121,13 @@ elif [ "$CI_COMMIT_TAG" != "" ]; then
export GITLAB_USER=docs
export GITLAB_HOST=$CI_SERVER_HOST
export PROJECT_REPO=docs.beagleboard.io
if [ "$PROJECT_BRANCH" ]; then
export VER_DIR=$PROJECT_BRANCH
export PAGES_SLUG=$PROJECT_BRANCH
else
export PROJECT_BRANCH=latest
export PROJECT_BRANCH=$GIT_BRANCH
if [ "$GIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]; then
export VER_DIR=latest
export PAGES_SLUG=latest
else
export VER_DIR=$GIT_BRANCH
export PAGES_SLUG=$GIT_BRANCH
fi
do_build
else
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment