diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml deleted file mode 100644 index f9bfdd92a5..0000000000 --- a/.github/workflows/mirror.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: mirror - -on: - push: - branches: - - '**' - -jobs: - mirror: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: webfactory/ssh-agent@v0.4.1 - with: - ssh-private-key: ${{ secrets.MIRROR_SSH_KEY }} - - name: Mirror all origin branches and tags to internal repo - run: | - export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" - git remote add internal ${{ secrets.INTERNAL_REPO }} - git push internal --all -f - git push internal --tags -f \ No newline at end of file