name: "Mirrored at notabug.org"

on: [push, delete]

jobs:
  to_notabug:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0

      - uses: pixta-dev/repository-mirroring-action@v1
        with:
          target_repo_url:
            "git@notabug.org:${{ github.repository }}.git"

          ssh_private_key:
            ${{ secrets.MIRROR_PUSH_KEY }}
