Browse Source

add drone settings

master
Schneider 5 years ago
parent
commit
d6eff1b6c5
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 31
      .drone.yml

31
.drone.yml

@ -0,0 +1,31 @@
kind: pipeline
name: default
type: docker
steps:
- name: test
image: rust:alpine
commands:
- cargo build --verbose --all
- cargo test --verbose --all
- name: build
image: rust:alpine
commands:
- cargo build --release
when:
event:
- tag
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: api_key
base_url: https://git.schneider-hosting.de
files: dist/*
when:
event:
- tag
depends_on:
- build
Loading…
Cancel
Save