Commit fe0db960 authored by Thomas Vincent's avatar Thomas Vincent

Add deployment

parent 7919e9bf
Pipeline #12242 failed
......@@ -22,7 +22,7 @@ source:
extends: .manylinux1_wheels
.Xwindows_wheel_python37:
windows_wheel_python37:
extends: .windows_wheel_python37
......@@ -76,8 +76,41 @@ doc:
- manylinux1_wheels
.Xwindows_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
Markdown is supported
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