diff --git a/.drone.yml b/.drone.yml index ef2f649..35a2d51 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 -