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:
# from_secret: sshcontent-key
#
- name: Push Raw Minio
image: plugins/s3
settings:
bucket: raw
endpoint: https://storage.opytex.org
access_key:
from_secret: minio_access_key
secret_key:
from_secret: minio_secret_key
source: ./**/*
target: /
exclude: ".gitignore"
exclude: ".git/"
exclude: "config"
exclude: "*/evaluations/DS*"
exclude: "tools/"
exclude: "*.rst"
exclude: "*.tex"
path_style: true
- name: Clean before push
image: alpine
commands:
- rm -r tools/ .* **/*.tex **/Evaluations/DS*
- name: Push Raw Minio
image: plugins/s3-sync:1
settings:
bucket: raw
endpoint: https://storage.opytex.org
access_key:
from_secret: minio_access_key
secret_key:
from_secret: minio_secret_key
source: ./**/*
target: /
path_style: true