Commit 87d19cf7 authored by Goutte's avatar Goutte

Clean the CI conf.

parent 497cb232
stages: stages:
- deploy - deploy
# Deployment is done in a reverse manner.
# Instead of rsyncing the files on the servers, we notify them.
# They will `git pull` the master by themselves.
deploy: deploy:
stage: deploy stage: deploy
image: appropriate/curl:latest image: appropriate/curl:latest
# image: byrnedo/alpine-curl:0.1
# > curl: host sh not found
# before_script:
# Host not found. But the runner has internet access?!
# - curl "https://courses.m3p2.ljbac.com/sync"
script: script:
- echo "Sending hooks to the production servers…" - echo "Sending hook(s) to the production server(s)…"
- curl "https://courses.m3p2.ljbac.com/sync" - curl --no-buffer --silent --show-error https://courses.m3p2.ljbac.com/sync
- echo "Deployed!" - echo "Deployed!"
# Ideally we should test all the pages of the website # Ideally we should test all the pages of the website
......
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