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.

26 lines
596B

  1. image: debian/unstable
  2. packages:
  3. - opam
  4. - ocaml
  5. - camlp4
  6. - curl
  7. sources:
  8. - https://git.zapashcanon.fr/zapashcanon/www.zapashcanon.fr
  9. secrets:
  10. - ec1f49cd-38dc-41d9-89f4-c3b6ecd7bcad # ssh deploy key
  11. tasks:
  12. - setup: |
  13. opam init -y
  14. opam update -y
  15. opam install -y stone
  16. - build: |
  17. cd www.zapashcanon.fr
  18. eval "$(opam env)"
  19. cd src
  20. stone
  21. cat site/bookshelf.html | grep Marx > /dev/null
  22. - deploy: |
  23. cd www.zapashcanon.fr
  24. cd src
  25. scp -o StrictHostKeyChecking=no -q -r site/* fs@zapashcanon.fr:/var/www/www.zapashcanon.fr/