Files
clappr-script-mirror/.woodpecker.yaml
Devops Bot befa427161
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
chore(deps): update node docker tag to v24
2025-07-22 01:00:28 +00:00

30 lines
737 B
YAML

---
when:
event:
- push
steps:
build:
image: node:24.4.1-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