Skip to content

Commit 5beadc4

Browse files
committed
try out push via ssh
1 parent c1b9df7 commit 5beadc4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cleanup.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
echo "Adding private key."
4040
ssh-add - <<< "${{ secrets.AUTO_PR_DEPLOY_KEY }}"
4141
cat .git/config
42-
perl -0777 -i -pe "s@url = https://(.*)@url = ssh://git@\${1}@"
42+
perl -0777 -i -pe "s@url = (.*)url = @ssh://\${1}@;" .git/config
43+
cat .git/config
4344
4445
- name: Create Pull Request if necessary
4546
uses: peter-evans/create-pull-request@v6

0 commit comments

Comments
 (0)