Compare commits

...

6 Commits

Author SHA1 Message Date
5f39549ea4 Fix: opytex.org bucket is empty...
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2023-07-19 16:57:55 +02:00
306e51c719 Fix: multiline fold
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 16:29:38 +02:00
3f4229b09d Feat: add more file to raw
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-19 16:26:14 +02:00
97162d6004 Fix paths?
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 16:20:28 +02:00
7dfa6c0cec debug
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-19 16:19:16 +02:00
1883e143b2 remove workspace
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-19 16:17:21 +02:00

View File

@ -6,9 +6,6 @@ type: docker
clone:
skip_verify: true
workspace:
path: /drone/content/
steps:
- name: Clean before push
image: alpine
@ -17,13 +14,22 @@ steps:
path: /tosend
commands:
- apk add --no-cache rsync
- rsync -am --include="*/" --include="*.odt" --include="*.pdf" --exclude="*" ./ /tosend
- >
rsync -am --include="*/"
--include="*.html"
--include="*.css"
--include="*.png"
--include="*.jpg"
--include="*.odt"
--include="*.pdf"
--exclude="*"
./ /tosend
- name: Push bucket Raw
image: plugins/s3-sync:1
volumes:
- name: tosend
path: /drone/content/tosend
path: /drone/src/tosend
settings:
bucket: raw
endpoint: https://storage.opytex.org
@ -67,13 +73,14 @@ 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
- ls /output
- name: Push to bucket opytex.org
image: plugins/s3-sync:1
volumes:
- name: pelican-output
path: /drone/content/output
path: /drone/src/output
settings:
bucket: opytex.org
endpoint: https://storage.opytex.org