From 4bebbb158c36caba6db8a4fbf16fc479b34d27b6 Mon Sep 17 00:00:00 2001 From: CI workflows Date: Sat, 22 Mar 2025 13:34:42 +0000 Subject: [PATCH] chore: auto-update github workflows --- .github/workflows/e2e-pro.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/e2e-pro.yaml b/.github/workflows/e2e-pro.yaml index d21285668..83207e32a 100644 --- a/.github/workflows/e2e-pro.yaml +++ b/.github/workflows/e2e-pro.yaml @@ -69,6 +69,16 @@ jobs: with: name: screenshots path: screenshots + - name: Push E2E screenshots + run: | + git config --global user.email "info@dbgate.info" + git config --global user.name "GitHub Actions" + git clone https://${{ secrets.DIFLOW_GIT_SECRET }}@github.com/dbgate/dbgate-img.git + cp ../dbgate-merged/e2e-tests/screenshots/*.png dbgate-img/static/img + cd dbgate-img/static/img + git add . + git commit -m "E2E screenshots" + git push services: postgres-cypress: image: postgres