Sync to GitLab

This commit is contained in:
Misaka No 2022-06-17 07:05:01 +08:00 committed by GitHub
parent 1db489c096
commit 5c72135495
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.github/workflows/sync.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Sync to Gitlab
on:
push:
delete:
workflow_dispatch:
jobs:
to_gitlab:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
git@gitlab.com:xrayr-project/XrayR.git
ssh_private_key:
${{ secrets.SSH_PRIVATEKEY }}