Commit 7ae83369 authored by Christophe Benz's avatar Christophe Benz

Switch docs-next => docs

parent 33ffc495
Pipeline #1196 passed with stages
in 1 minute and 23 seconds
......@@ -96,16 +96,16 @@ Build Gitbook:
- _book/
- "$PDF_FILE"
.Deploy Gitbook template:
Deploy Gitbook:
stage: deploy
except:
variables:
- $GENERATE_ASSETS
only:
variables:
- $SERVER_DIRECTORY
- master
image: $CI_DOCKER_IMAGE
variables:
SERVER_DIRECTORY: scdl-documentation-static
SERVER_HOST: go.validata.fr
SERVER_USER: validata
before_script:
......@@ -115,13 +115,6 @@ Build Gitbook:
- ssh-keyscan -t rsa $SERVER_HOST >> ~/.ssh/known_hosts
script:
- rsync -avz --delete _book/ "$PDF_FILE" ${SERVER_USER}@${SERVER_HOST}:${SERVER_DIRECTORY}/
Deploy Gitbook next:
extends: .Deploy Gitbook template
only:
- master
variables:
SERVER_DIRECTORY: scdl-documentation-static-next
environment:
name: next
url: https://scdl.opendatafrance.net/docs-next/
name: Documentation SCDL
url: https://scdl.opendatafrance.net/docs/
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