Core: clean before push
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Bertrand Benjamin 2023-07-15 19:04:39 +02:00
parent 7968cca378
commit 21777ba46e
1 changed files with 18 additions and 19 deletions

View File

@ -51,22 +51,21 @@ steps:
# SSH_KEY: # SSH_KEY:
# from_secret: sshcontent-key # from_secret: sshcontent-key
# #
- name: Push Raw Minio
image: plugins/s3 - name: Clean before push
settings: image: alpine
bucket: raw commands:
endpoint: https://storage.opytex.org - rm -r tools/ .* **/*.tex **/Evaluations/DS*
access_key:
from_secret: minio_access_key - name: Push Raw Minio
secret_key: image: plugins/s3-sync:1
from_secret: minio_secret_key settings:
source: ./**/* bucket: raw
target: / endpoint: https://storage.opytex.org
exclude: ".gitignore" access_key:
exclude: ".git/" from_secret: minio_access_key
exclude: "config" secret_key:
exclude: "*/evaluations/DS*" from_secret: minio_secret_key
exclude: "tools/" source: ./**/*
exclude: "*.rst" target: /
exclude: "*.tex" path_style: true
path_style: true