diff --git a/.github/workflows/sync-to-private-repo.yml b/.github/workflows/sync-to-private-repo.yml deleted file mode 100644 index b07e1d0..0000000 --- a/.github/workflows/sync-to-private-repo.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Sync to Private Repo - -on: - push: - branches: - - main # Change this to match your default branch - -jobs: - sync: - runs-on: ubuntu-latest - - steps: - # Step 1: Check out the public repository - - name: Checkout Public Repository - uses: actions/checkout@v3 - - # Step 2: Configure Git to use Personal Access Token (PAT) - - name: Configure Git - run: | - git config --global user.name "GitHub Actions" - git config --global user.email "actions@github.com" - - # Step 3: Add the private repository as a remote and sync changes - - name: Sync Changes to Private Repository - env: - PAT: ${{ secrets.PRIVATE_REPO_PAT }} - run: | - git remote add private https://x-access-token:${PAT}@github.com/nsswifter/AcademicApplicationDocuments.git - git push private main