Files
clappr-script-mirror/.woodpecker.yaml
Nikolai Rodionov d1affa31b5
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Update the job
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-07-17 16:10:19 +02:00

37 lines
846 B
YAML

---
when:
event:
- push
steps:
build:
image: node
name: Build the script
environment:
GIT_TAG: '@clappr/player@0.11.9'
commands:
- git clone https://github.com/clappr/clappr.git clappr
- cd clappr
- git checkout $GIT_TAG
- yarn install
- yarn run build
backend_options:
kubernetes:
resources:
requests:
memory: 500Mi
cpu: 200m
limits:
memory: 500Mi
upload:
name: Upload the script
image: rclone/rclone:latest
environment:
GIT_TAG: 0.11.9
RCLONE_CONFIG: /tmp/rclone.conf
RCLONE_CONFIG_CONTENT:
from_secret: rclone_config_content
commands:
- echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG
- rclone copy -P clappr/dist/ s3:/badhouseplants-js/clappr/$GIT_TAG