This commit is contained in:
eppixx 2021-10-27 15:17:02 +00:00
parent 34ca649d23
commit 6bf237b205

View File

@ -1,11 +1,19 @@
# https://woodpecker-ci.org/docs/usage/intro
pipeline:
#build_and_test:
# image: rust
# commands:
# - cargo build --release
# - cargo test --release
build_and_test:
image: rust
commands:
- cargo build --release
- cargo test --release
gitea_release:
# http://plugins.drone.io/drone-plugins/drone-gitea-release/
image: plugins/gitea-release
files: target/release/reel-moby
secrest: [api_key, base_url]
when
tag: test*
notify:
# http://plugins.drone.io/appleboy/drone-discord/
@ -14,11 +22,3 @@ pipeline:
message: "build {{build.number}} failed. Fix me please."
when:
status: failure
gitea_release:
# http://plugins.drone.io/drone-plugins/drone-gitea-release/
image: plugins/gitea-release
files: target/release/reel-moby
secrest: [api_key, base_url]
#when
# tag: v*