From 57f304286ab2c77fac48542ade95b226ffdda1e2 Mon Sep 17 00:00:00 2001 From: Robert Stoll Date: Tue, 27 Aug 2024 22:27:53 +0200 Subject: [PATCH] try out push via ssh --- .github/workflows/cleanup.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index b84db75..14a3275 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -39,7 +39,8 @@ jobs: echo "Adding private key." ssh-add - <<< "${{ secrets.AUTO_PR_DEPLOY_KEY }}" cat .git/config - perl -0777 -i -pe "s@url = https://(.*)@url = ssh://git@\${1}@" + perl -0777 -i -pe "s@url = (.*)@ssh://\${1}" .git/config + cat .git/config - name: Create Pull Request if necessary uses: peter-evans/create-pull-request@v6