Files
clappr-script-mirror/.woodpecker.yaml
Nikolai Rodionov 811da914f6
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Fix the folder
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-07-21 21:50:12 +02:00

30 lines
738 B
YAML

---
when:
event:
- push
steps:
build:
image: node:18.20.8-bullseye
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
- cd ./packages/player
- yarn install
- yarn run build
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/packages/player/dist/ s3:/badhouseplants-js/clappr/$GIT_TAG