Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaLBEC - Unix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
MIVEGEC
dainat
MaLBEC - Unix
Commits
e4ece8fb
Commit
e4ece8fb
authored
1 year ago
by
jacques.dainat_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
add ci to deploy
parent
f7d447cb
No related branches found
No related tags found
No related merge requests found
Pipeline
#2413
passed
1 year ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+38
-0
38 additions, 0 deletions
.gitlab-ci.yml
with
38 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
38
−
0
View file @
e4ece8fb
image
:
ubuntu:latest
workflow
:
rules
:
-
if
:
$CI_COMMIT_BRANCH
cache
:
key
:
$CI_COMMIT_REF_SLUG
before_script
:
-
apt-get update
-
apt-get upgrade -y
-
apt-get install -y python3-pip
-
pip install mkdocs-material
-
pip install pymdown-extensions
-
pip install mkdocs-minify-plugin
-
pip install mkdocs-macros-plugin
test
:
stage
:
test
script
:
-
mkdocs build --strict --verbose --site-dir test
artifacts
:
paths
:
-
test
rules
:
-
if
:
$CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
pages
:
stage
:
deploy
script
:
-
mkdocs build --verbose
artifacts
:
paths
:
-
public
rules
:
-
if
:
$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
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