🇨🇴 Una base de datos de cursos en diferentes lenguajes. 🇫🇷 Une base de données de cours dans différents langages. 🇳🇴 En database med kurs på forskjellige språk. 🇺🇸 A flat-file database of courses in multiple languages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
610 B

stages:
- deploy
# Deployment is done in a reverse manner.
# Instead of rsyncing (uploading) the files on the servers, we notify them.
# The server(s) will `git pull` the master by themselves.
deploy:
stage: deploy
image: appropriate/curl:latest
script:
- echo "Sending hook(s) to the production server(s)…"
- curl --no-buffer --silent --show-error https://m3p2.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..