don't build for every branch push
This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -18,11 +18,19 @@ steps:
|
||||
- echo "machine git.itzana.me login $${GIT_USER} password $${GIT_PASS}" > ~/.netrc
|
||||
- chmod 600 ~/.netrc
|
||||
- make build-backend
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- staging
|
||||
|
||||
- name: build-validator
|
||||
image: clux/muslrust:1.86.0-stable
|
||||
commands:
|
||||
- make build-validator
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- staging
|
||||
|
||||
- name: build-frontend
|
||||
image: oven/bun:1.2.8
|
||||
@@ -30,6 +38,10 @@ steps:
|
||||
- apt-get update
|
||||
- apt-get install make
|
||||
- make build-frontend
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- staging
|
||||
|
||||
- name: image-backend
|
||||
image: plugins/docker
|
||||
@@ -137,6 +149,6 @@ steps:
|
||||
- pull_request
|
||||
---
|
||||
kind: signature
|
||||
hmac: 4b66c6197f3d730605f9c52f90bb1970912d8a7765a11968640b924c0b01d4fc
|
||||
hmac: 9880a1bb4725c81e38b5d185bbfccaf70ddf8021299557d1815f78e78817c5e6
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user