diff options
author | NRK <nrk@disroot.org> | 2022-06-17 10:01:09 +0200 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2022-06-25 08:27:01 +0200 |
commit | 82487293203cf5bad77e4fc8aa4da262e7b1c049 (patch) | |
tree | b80cf8ee5c61fb09bff3a0f7922cb582bfb2aedf /.woodpecker/build.yml | |
parent | a9d2b5b088a03972908bdfd2878091b68e8bc4b0 (diff) | |
download | nsxiv-82487293203cf5bad77e4fc8aa4da262e7b1c049.tar.zst |
[ci]: skip the pipeline entirely if branch isn't master
currently, it will clone the repo and then skip the step. this is
wasteful, instead skip the pipeline entirely.
Diffstat (limited to '.woodpecker/build.yml')
-rw-r--r-- | .woodpecker/build.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index d70e0e6..ebabf12 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -1,11 +1,11 @@ +branches: master + # NOTE: "stable" tcc is too old and fails at linking. instead fetching a recent known working commit. pipeline: build: image: alpine environment: - TCC_SHA=027b8fb9b88fe137447fb8bb1b61079be9702472 - when: - branch: master commands: | apk add --no-cache \ imlib2 imlib2-dev xorgproto \ |