Update the job
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2025-07-17 13:47:29 +02:00
parent a0b838b7ea
commit a1527243a3

View File

@ -3,10 +3,13 @@ when:
event: event:
- push - push
steps: steps:
build: build:
image: node image: node
name: Build the script name: Build the script
environment:
GIT_TAG: 0.11.0
commands: commands:
- git clone https://github.com/clappr/clappr.git clappr - git clone https://github.com/clappr/clappr.git clappr
- cd clappr - cd clappr
@ -21,18 +24,15 @@ steps:
memory: 500Mi memory: 500Mi
cpu: 200m cpu: 200m
limits: limits:
memory: 1000Mi memory: 500mi
cpu: 1000m
securityContext:
privileged: true
upload: upload:
name: Upload the script name: Upload the script
image: rclone/rclone:latest image: rclone/rclone:latest
environment: environment:
GIT_TAG: 0.11.0
RCLONE_CONFIG: /tmp/rclone.conf RCLONE_CONFIG: /tmp/rclone.conf
secrets: RCLONE_CONFIG_CONTENT:
- rclone_config_content from_secret: rclone_config_content
commands: commands:
- echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG - echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG
- apk update - rclone copy -P clappr/dist/ s3:/badhouseplants-js/clappr/$GIT_TAG
- rclone copy -P clappr/dist/ badhouseplants-minio:/badhouseplants-js/clappr/$GIT_TAG