Skip to content

Commit

Permalink
自动镜像到 GitLab
Browse files Browse the repository at this point in the history
  • Loading branch information
wifi-left committed Oct 1, 2022
1 parent 1f4ef2a commit 35d2eea
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'GitHub Actions Mirror'

on: [push, delete]

jobs:
mirror_to_gitlab:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v1
- name: 'Mirror to gitlab'
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
git@gitlab.com:wifi-left/Map-MiniGames.git
ssh_private_key:
${{ secrets.SSH_KEY }}

0 comments on commit 35d2eea

Please sign in to comment.