Fix: folder and clone
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bertrand Benjamin 2020-08-05 13:51:09 +02:00
parent a7bc9c4b81
commit fef19591d0

View File

@ -12,11 +12,13 @@ steps:
commands:
- apk add --no-cache openssh-client ca-certificates bash rsync git imagemagick
- cd ..
- git clone https://git.opytex.org/lafrite/site_opytex.git ./
- git clone https://git.opytex.org/lafrite/site_opytex.git
- cd site_opytex
- git submodule init
- git submodule update
- pip install --no-cache-dir -r requirements.txt
- export MAGICK_HOME=/usr
- ln -s ../content ./content
- pelican ./content/ -o output -s publishconf.py --relative-urls
- eval `ssh-agent -s`
- echo "$SSH_KEY" | ssh-add -