Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Quality Control Format
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
SFM Research
QuaOne
Quality Control Format
Commits
95b460b9
Commit
95b460b9
authored
1 month ago
by
Florian Fischer
Browse files
Options
Downloads
Patches
Plain Diff
adds stages
parent
e0849187
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-29
11 additions, 29 deletions
.gitlab-ci.yml
with
11 additions
and
29 deletions
.gitlab-ci.yml
+
11
−
29
View file @
95b460b9
image
:
python:3
stages
:
-
build
-
deploy
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
PAGES_DIR
:
public
before_script
:
-
python -m pip install --upgrade pip
-
pip install furo
-
pip install sphinx
-
pip install sphinx-rtd-theme
build
:
stage
:
build
script
:
-
mkdir -p $PAGES_DIR
-
sphinx-build -b html docs $PAGES_DIR
artifacts
:
paths
:
-
$PAGES_DIR
-
pages
pages
:
stage
:
deploy
stage
:
pages
tags
:
-
Python3.8
needs
:
-
test
script
:
-
echo "Deploying GitLab Pages"
-
apt-get update
-
apt-get install libgl1 -y
-
sphinx-build -b html ./docs public
artifacts
:
paths
:
-
$PAGES_DIR
expire_in
:
30 days
only
:
-
main
# The folder that contains the files to be exposed at the Page URL
-
public
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
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