limit copy-sigs to pushes/merges to master to speed up PR builds

lektura
max.mehl 2022-02-10 11:33:49 +01:00
parent a9330b1221
commit ad64cc807e
No known key found for this signature in database
GPG Key ID: 2704E4AB371E2E92
1 changed files with 8 additions and 1 deletions

View File

@ -10,6 +10,13 @@ steps:
volumes:
- name: signatures
path: /tmp/signatures.json
when:
branch:
- master
event:
exclude:
# do not copy sigs in pull requests to speed up builds
- pull_request
- name: hugo
image: plugins/hugo
@ -50,6 +57,6 @@ volumes:
path: /srv/forms/pmpc/signatures.json
---
kind: signature
hmac: bc10383cc16d59bf0b4046b03cc6510ec978af4791bcfe9f7ec554e3e172fc35
hmac: d58a928931a664eb701370b52e57115c7c28fdd82fe62b3251321209252188e4
...