stages: - deploy deploy: stage: deploy 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: - echo "Sending hooks to the production servers…" - curl "https://courses.m3p2.ljbac.com/sync" - echo "Deployed!" # Ideally we should test all the pages of the website # and assert that they respond with either a 2XX or 3XX HTTP status code. # That should allow us to catch badly formed Markdown, YAML or file paths..