Commit 98d09af4 authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Update .gitlab-ci.yml

deploy does not need docker
parent b90e8529
Pipeline #3682 passed with stages
in 46 seconds
......@@ -44,11 +44,10 @@ build:
apache-dev:
stage: deploy
image: $CI_REGISTRY_IMAGE
tags:
- docker
- pelican
variables:
PUBLISH_DIR: "gitlab-runner@calcul.math.unistra.fr:/var/www/calcul-dev/$CI_COMMIT_REF_NAME"
PUBLISH_DIR: "/var/www/calcul-dev/$CI_COMMIT_REF_NAME"
only:
- pr_branch_deploy
- TEST-job-form
......@@ -59,6 +58,8 @@ apache-dev:
- embed_twitter_v2
dependencies:
- build
before_script:
- echo "Publishing to $PUBLISH_DIR"
script:
- rsync -av --delete --exclude 'attachments' output/ $PUBLISH_DIR/
- rsync -avv --delete content/attachments/ $PUBLISH_DIR/attachments/
......
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