gitcode.yml 426 字节
Newer Older
G
guenchi 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
name: 'GitHub Actions Mirror'

on: [push, delete]

jobs:
  mirror_to_gitcode:
    runs-on: ubuntu-latest
    steps:
      - name: 'Checkout'
        uses: actions/checkout@v1
      - name: 'Mirror to gitcode'
        uses: pixta-dev/repository-mirroring-action@v1
        with:
          target_repo_url:
            git@gitcode.net:csdn/skill_tree_scheme.git
          ssh_private_key:
            ${{ secrets.GITCODE_KEY }}