yuno/.woodpecker/html.yml
silvana 38cb6b1563
Some checks failed
ci/woodpecker/pr/quality Pipeline failed
Add(assets): tiled maps support.
2024-08-04 14:18:45 +02:00

28 lines
827 B
YAML

when:
- event: [tag]
steps:
build:
image: git.ragarock.moe/silvana/yuno/rust:latest
secrets: [access_key, secret_key]
environment:
CARGO_TERM_COLOR: "always"
CARGO_HOME: "./.cargo-home"
RUSTC_WRAPPER: "/usr/bin/sccache"
SSCACHE_ENDPOINT: "https://minio.ragarock.moe"
SCCACHE_BUCKET: "cache"
SCCACHE_REGION: "auto"
AWS_ACCESS_KEY_ID:
from_secret: access_key
AWS_SECRET_ACCESS_KEY:
from_secret: secret_key
commands:
- rustup default nightly
- rustup target add wasm32-unknown-unknown
- trunk build
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}/