Skip to content

Commit

Permalink
try out push via ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed Aug 27, 2024
1 parent c1b9df7 commit 68db4b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68db4b8

Please sign in to comment.