From f52ef2d57e05a7593e45b3eaa50f7110182a43ad Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Sat, 22 Mar 2025 14:34:25 +0100 Subject: [PATCH] push to image repo --- workflow-templates/e2e-pro.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/workflow-templates/e2e-pro.yaml b/workflow-templates/e2e-pro.yaml index 53966c93b..efe844f5f 100644 --- a/workflow-templates/e2e-pro.yaml +++ b/workflow-templates/e2e-pro.yaml @@ -62,6 +62,17 @@ jobs: 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