Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
kmap
xsocs
Commits
fe0db960
Commit
fe0db960
authored
Jul 03, 2019
by
Thomas Vincent
Browse files
Add deployment
parent
7919e9bf
Pipeline
#12242
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
fe0db960
...
...
@@ -22,7 +22,7 @@ source:
extends
:
.manylinux1_wheels
.X
windows_wheel_python37
:
windows_wheel_python37
:
extends
:
.windows_wheel_python37
...
...
@@ -76,8 +76,41 @@ doc:
-
manylinux1_wheels
.X
windows_test_python37
:
windows_test_python37
:
<<
:
*test_template_defintion
extends
:
.windows_base_python37
dependencies
:
-
windows_wheel_python37
# Deploy
pages
:
stage
:
deploy
tags
:
-
linux
image
:
debian:stable
before_script
:
-
apt-get update
-
apt-get install --yes tree
script
:
-
rm -rf public
# doc
-
mv artifacts/html public
# wheelhouse
-
mkdir public/wheels
-
cp artifacts/*.whl public/wheels
-
cp artifacts/*.tar.gz public/wheels
# html index
-
cd public/wheels
-
tree -H '.' -h -T 'X-Socs snapshots' --noreport --charset utf-8 -o index.html
-
curl -o create_index.py https://gitlab.esrf.fr/silx/bob/main/raw/master/create_index.py
after_script
:
-
ls -Rl public
artifacts
:
paths
:
-
public
expire_in
:
1h
only
:
-
master
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment