Browse Source

Use triggers instead of step conditions in .drone.yml where relevant

pull/17/head
Emi Tatsuo 1 month ago
parent
commit
3b4e9c77ec
Signed by untrusted user: alch_emii GPG Key ID: 68FAB2E2E6DFC98B
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      .drone.yml

+ 7
- 7
.drone.yml View File

@ -7,10 +7,6 @@ steps:
pull: always
commands:
- cargo test --all --all-features
when:
event:
- push
- pull_request
- name: auto-release
image: xena/gitea-release
@ -26,6 +22,10 @@ steps:
- push
branch:
- main
trigger:
event:
- push
- pull_request
---
@ -40,6 +40,6 @@ steps:
environment:
CARGO_TOKEN:
from_secret: CARGO_TOKEN
when:
event:
- tag
trigger:
event:
- tag

Loading…
Cancel
Save