From 5ab9c077c25733844d759aca72aa32dbdaaf845e Mon Sep 17 00:00:00 2001
From: lilly
Date: Fri, 15 May 2026 09:25:33 +0200
Subject: [PATCH] use manual git pull in penpot ci
---
.forgejo/workflows/build_penpot.yml | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/.forgejo/workflows/build_penpot.yml b/.forgejo/workflows/build_penpot.yml
index 6a24fac..69afc3c 100644
--- a/.forgejo/workflows/build_penpot.yml
+++ b/.forgejo/workflows/build_penpot.yml
@@ -18,19 +18,16 @@ jobs:
image-type: [ frontend, backend, exporter ]
steps:
- name: Install required system packages
- run: apk add --no-cache nodejs
+ run: apk add --no-cache nodejs git curl
- - name: Setup penpot repo
- uses: actions/checkout@v6
- with:
- github-server-url: github.com
- repository: penpot/penpot.git
- ref: ${{ matrix.image-penpot-version }}
- submodules: recursive
- path: penpot
+ - name: Clone penpot repo
+ run: |
+ git clone --branch="${{ matrix.penpot-version }}" https://github.com/penpot/penpot.git "${{ forgejo.workspace }}/penpot"
+ cd "${{ forgejo.workspace }}/penpot"
+ git submodule update --init --recursive
- name: Patch penpot to work with kaniko
- run: |
+ run: |
# Get build system patch allowing for building images with kaniko.
# https://github.com/penpot/penpot/pull/4945
# https://github.com/penpot/penpot/pull/4945/commits/752574bac789cc90cc218004bb9545cc6239895d