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.
|
image: debian/unstable
|
|
packages:
|
|
- opam
|
|
- ocaml
|
|
- camlp4
|
|
- curl
|
|
- m4
|
|
- pkg-config
|
|
sources:
|
|
- https://git.zapashcanon.fr/zapashcanon/www.zapashcanon.fr
|
|
secrets:
|
|
- ec1f49cd-38dc-41d9-89f4-c3b6ecd7bcad # ssh deploy key
|
|
tasks:
|
|
- setup: |
|
|
opam init --disable-sandboxing -y
|
|
opam update -y
|
|
opam install -y stone
|
|
- build: |
|
|
cd www.zapashcanon.fr
|
|
eval "$(opam env)"
|
|
cd src
|
|
stone
|
|
cat site/bookshelf.html | grep Marx > /dev/null
|
|
- deploy: |
|
|
cd www.zapashcanon.fr
|
|
cd src
|
|
scp -o StrictHostKeyChecking=no -q -r site/* fs@zapashcanon.fr:/var/www/www.zapashcanon.fr/
|