remove workspace
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Bertrand Benjamin 2023-07-19 16:17:21 +02:00
parent 88aeb2bdc8
commit 1883e143b2
1 changed files with 3 additions and 5 deletions

View File

@ -6,9 +6,6 @@ type: docker
clone:
skip_verify: true
workspace:
path: /drone/content/
steps:
- name: Clean before push
image: alpine
@ -18,12 +15,13 @@ steps:
commands:
- apk add --no-cache rsync
- rsync -am --include="*/" --include="*.odt" --include="*.pdf" --exclude="*" ./ /tosend
- ls /tosend
- name: Push bucket Raw
image: plugins/s3-sync:1
volumes:
- name: tosend
path: /drone/content/tosend
path: /tosend
settings:
bucket: raw
endpoint: https://storage.opytex.org
@ -67,7 +65,7 @@ steps:
- git submodule update
- pip install --no-cache-dir -r requirements.txt
- export MAGICK_HOME=/usr
- pelican ./content/ -o /output -s publishconf.py --relative-urls
- pelican ./src/ -o /output -s publishconf.py --relative-urls
- name: Push to bucket opytex.org
image: plugins/s3-sync:1