Browse Source

add deploy

master
zapashcanon 4 months ago
parent
commit
00db699d9d
No account linked to committer's email address
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      .build.yml

+ 7
- 1
.build.yml View File

@@ -6,14 +6,20 @@ packages:
- curl
sources:
- https://git.zapashcanon.fr/zapashcanon/www.zapashcanon.fr
secrets:
- ec1f49cd-38dc-41d9-89f4-c3b6ecd7bcad # ssh deploy key
tasks:
- setup: |
opam init -y
opam update -y
opam install -y stone
- build: |
eval "$(opam env)"
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/

Loading…
Cancel
Save