Commit 09b4bb1c authored by Romain Casati's avatar Romain Casati
Browse files

Deploy with gitlab pages.

parent 084379b1
Pipeline #412366 passed with stages
in 4 minutes and 11 seconds
image: debian:buster
pages:
script:
- apt-get update && apt-get -y install python3 python3-setuptools python3-pip nodejs
npm git rsync
- pip3 install pytest-check-links black sphinx flit doit
- npm install --global yarn
- doit
- rsync -a --copy-links app/ public/
artifacts:
paths:
- public/
# redirect to https
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# ignoring .git folder
RewriteRule ^(?:.git)\b.* - [R=404]
# prevent from listing directories
Options -Indexes
IndexIgnore *
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