diff --git a/.github/workflows/sync-private-repo.yml b/.github/workflows/sync-private-repo.yml index 4cf6977..50774cc 100644 --- a/.github/workflows/sync-private-repo.yml +++ b/.github/workflows/sync-private-repo.yml @@ -27,9 +27,9 @@ jobs: # Copy all files from the public repo into the private repo - name: Copy Public Repo Files to Private Repo run: | - # 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 + # Go back to the root of the public repo (where the files are located) + cd ${{ github.workspace }} # Ensure we're in the root of the public repository + cp -r ./* ./private-repo/ # Copy all 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