diff --git a/.github/workflows/sync-repo.yaml b/.github/workflows/sync-repo.yaml deleted file mode 100644 index f738c5c90..000000000 --- a/.github/workflows/sync-repo.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Repo Sync - -"on": - push: - branches: [main] - -jobs: - repo-sync: - name: Repo Sync - if: ${{ github.repository }} == 'analytics-platform-control-panel' - runs-on: ubuntu-latest - steps: - - name: Sync main branch to public fork - uses: wei/git-sync@v2 - with: - source_repo: "${{ github.repository }}" - source_branch: "main" - destination_repo: "ministryofjustice/analytics-platform-control-panel-public" - destination_branch: "main" - ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}