From a5f83fa6f31dea41653c269e9b56b390c2fd95af Mon Sep 17 00:00:00 2001 From: Michael Collins <15347726+michaeljcollinsuk@users.noreply.github.com> Date: Mon, 13 Nov 2023 10:30:43 +0000 Subject: [PATCH] Remove the github action to sync to public repo (#1222) This repo has been made public, and the 'old' public repo has been archived, so there is no longer any need for the sync action. Furthermore, it hasn't been working for a while anyway. --- .github/workflows/sync-repo.yaml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .github/workflows/sync-repo.yaml 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 }}