yuno/.woodpecker/html.yml
silvana 8c14f678aa
Some checks failed
ci/woodpecker/pr/quality Pipeline failed
ci/woodpecker/tag/html Pipeline failed
Fix(cicd): add html pipeline.
2024-08-04 11:42:25 +02:00

17 lines
517 B
YAML

when:
- event: [tag]
steps:
build:
image: git.ragarock.moe/silvana/yuno/rust:latest
environment: [CARGO_TERM_COLOR=always, CARGO_HOME=./.cargo-home]
commands:
- rustup default nightly
- rustup target add wasm32-unknown-unknown
- trunk build --public-url
upload:
image: minio/mc
secrets: [access_key, secret_key]
commands:
- mc alias set minio https://minio.ragarock.moe $access_key $secret_key
- mc cp -quiet --recursive dist/ minio/yuno/${CI_COMMIT_TAG}/