feat(ci): update translations only on cron schedule

This commit is contained in:
kolaente 2021-10-31 15:10:51 +01:00
parent 28a448a1aa
commit 14472a45ed
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -1,6 +1,8 @@
kind: pipeline kind: pipeline
name: build name: build
# TODO: update translations only nightly
trigger: trigger:
branch: branch:
include: include:
@ -328,6 +330,9 @@ trigger:
ref: ref:
- refs/heads/main - refs/heads/main
- "refs/tags/**" - "refs/tags/**"
event:
exclude:
- cron
steps: steps:
- name: docker-unstable - name: docker-unstable
@ -425,6 +430,9 @@ trigger:
ref: ref:
- refs/heads/main - refs/heads/main
- "refs/tags/**" - "refs/tags/**"
event:
exclude:
- cron
steps: steps:
- name: docker-unstable - name: docker-unstable
@ -471,6 +479,9 @@ trigger:
ref: ref:
- refs/heads/main - refs/heads/main
- "refs/tags/**" - "refs/tags/**"
event:
exclude:
- cron
depends_on: depends_on:
- docker-amd64-release - docker-amd64-release
@ -532,6 +543,9 @@ trigger:
ref: ref:
- refs/heads/main - refs/heads/main
- "refs/tags/**" - "refs/tags/**"
event:
exclude:
- cron
depends_on: depends_on:
- build - build
@ -568,7 +582,9 @@ trigger:
branch: branch:
- main - main
event: event:
- push - cron
cron:
- update_translations
steps: steps:
- name: download - name: download