Browse Source

Clean the CI conf.

keep-around/9f9cbb166916495c279f8cb8828512a6215ddf2e
Goutte 7 years ago
parent
commit
87d19cf7cf
  1. 12
      .gitlab-ci.yml

12
.gitlab-ci.yml

@ -1,17 +1,15 @@
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…"
- curl "https://courses.m3p2.ljbac.com/sync"
- echo "Sending hook(s) to the production server(s)…"
- 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

Loading…
Cancel
Save