Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSL
documentation
Commits
6899a48e
Commit
6899a48e
authored
1 year ago
by
Dimitrios Giannopoulos
Browse files
Options
Downloads
Patches
Plain Diff
simplified script
parent
59ead824
No related branches found
No related tags found
No related merge requests found
Pipeline
#4243
failed
1 year ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-10
1 addition, 10 deletions
.gitlab-ci.yml
with
1 addition
and
10 deletions
.gitlab-ci.yml
+
1
−
10
View file @
6899a48e
...
@@ -15,16 +15,7 @@ pages:
...
@@ -15,16 +15,7 @@ pages:
-
git checkout $CI_COMMIT_SHA
-
git checkout $CI_COMMIT_SHA
script
:
script
:
-
mike list
-
mike list
-
>
-
mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u latest2 latest2
if [ -n "$CI_COMMIT_TAG" ]; then
if ! mike list | grep -q $CI_COMMIT_TAG; then
mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u $CI_COMMIT_TAG $CI_COMMIT_TAG
else
echo "Tag $CI_COMMIT_TAG has already been deployed."
fi
else
mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u latest2 latest2
fi
# - mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u $CI_COMMIT_TAG latest
# - mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u $CI_COMMIT_TAG latest
# - 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment