Skip to content

Commit

Permalink
Update push-to-starter-repo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebBarnes committed Jan 4, 2024
1 parent 4bae1a2 commit 7be79f5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/push-to-starter-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ jobs:
git config --global user.name 'GitHub Action Bot'
git config --global user.email 'action@github.com'
- name: Clone the destination repository
- name: Clone the destination repository using SSH
run: |
git clone https://github.com/CalebBarnes/nextwp-starter.git temp_repo
git clone git@github.com:CalebBarnes/nextwp-starter.git temp_repo
env:
GIT_SSH_COMMAND: ssh -i ${{ secrets.SSH_PRIVATE_KEY }} -o StrictHostKeyChecking=no

- name: Copy files to the temporary directory
run: |
Expand Down

0 comments on commit 7be79f5

Please sign in to comment.