Try using woodpecker variables and rclone copyto
This commit is contained in:
parent
ecfb624fff
commit
b3bd01c16d
@ -2,6 +2,9 @@
|
|||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- &s3_path 'badhouseplants-minio:/public-download/n.rodionov'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
build:
|
build:
|
||||||
name: Build the CV
|
name: Build the CV
|
||||||
@ -37,8 +40,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG
|
- echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG
|
||||||
- |-
|
- |-
|
||||||
rclone copy -P $CI_WORKSPACE/cv \
|
rclone copy -P $CI_WORKSPACE/cv *s3_path
|
||||||
badhouseplants-minio:/public-download/n.rodionov
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
when:
|
when:
|
||||||
@ -52,6 +54,6 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG
|
- echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG
|
||||||
- |-
|
- |-
|
||||||
rclone copy -P \
|
rclone copyto \
|
||||||
badhouseplants-minio:/public-download/n.rodionov/n.rodionov.$CI_COMMIT_SHA.pdf \
|
*s3_path/n.rodionov.$CI_COMMIT_SHA.pdf \
|
||||||
badhouseplants-minio:/public-download/n.rodionov.pdf
|
*s3_path.pdf
|
||||||
|
Loading…
Reference in New Issue
Block a user