Skip to content

Commit

Permalink
Update sync-private-repo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nsswifter authored Nov 27, 2024
1 parent 5976fcc commit e80d38f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/sync-private-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ jobs:
cd private-repo
ls -la # List the contents of the private repo to confirm it was cloned
# Copy all files from the public repo to the private repo
# Copy all files from the public repo into the private repo
- name: Copy Public Repo Files to Private Repo
run: |
cp -r * private-repo/
cd private-repo
# Go back to the root of the public repo (to ensure you're copying the right files)
cd ${{ github.workspace }}
cp -r * ./private-repo/ # Copy files from the public repo to the private repo
# Commit and push the changes to the private repo
- name: Commit and Push Changes to Private Repo
Expand Down

0 comments on commit e80d38f

Please sign in to comment.