From 827cbf400b7574e798ce5f04e247c062376c0d44 Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Mon, 8 May 2023 19:06:22 +0800 Subject: [PATCH] Remove dotfiles mirroring --- .github/workflows/mirror.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/mirror.yml diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml deleted file mode 100644 index 1a4bb04..0000000 --- a/.github/workflows/mirror.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: mirror to dotfiles - -on: - push: - branches: - - main - -jobs: - mirror: - name: mirror to dotfiles - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - ref: ${{ github.head_ref }} - fetch-depth: 0 - - name: load ssh key - env: - SSH_AUTH_SOCK: /tmp/ssh_agent.sock - run: | - ssh-agent -a $SSH_AUTH_SOCK > /dev/null - ssh-add - <<< "${{ secrets.MIRROR_SSH_PRIVATE_KEY }}" - - name: add remote and push - env: - SSH_AUTH_SOCK: /tmp/ssh_agent.sock - run: | - git remote add mirror git@github.com:serverwentdown/dotfiles.git - git push -f mirror main - -# vim: set et ts=2 sw=2: