From 564ae050e958efef073af2fa2ffc6ee0b166d37f Mon Sep 17 00:00:00 2001
From: nrb <freifunk@nicoboehr.de>
Date: Sun, 26 Sep 2021 20:49:17 +0200
Subject: [PATCH] ci: dl-cache: pull before committing

Another build job might since have commited its dl-cache hence do a pull
before we commit our dl cache.
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d15c051b3..7524d25d4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,7 +33,7 @@ default:
     - git config --global user.name "FFS Buildbot"
     - mkdir -p ~/.ssh
     - cat gitlab-known-hosts >> ~/.ssh/known_hosts
-    - cd gluon/openwrt/dl && git add . && git commit -m "update DL cache" || true
+    - cd gluon/openwrt/dl && git pull && git add . && git commit -m "update DL cache" || true
     - git push || true
 
 generate_date:
-- 
GitLab