mirror of https://gitlab.com/rwkgyg/CFwarp.git
Create main.yml
This commit is contained in:
parent
c588cd51b4
commit
6fdff044fc
|
@ -0,0 +1,31 @@
|
||||||
|
name: 'GitHub Actions Mirror'
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
mirror_to_gitlab:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: 'Checkout'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: 'Mirror to gitlab'
|
||||||
|
uses: pixta-dev/repository-mirroring-action@v1
|
||||||
|
with:
|
||||||
|
target_repo_url:
|
||||||
|
git@gitlab.com:rwkgyg/acme-script.git
|
||||||
|
ssh_private_key:
|
||||||
|
${{ secrets.private_key }}
|
||||||
|
mirror_to_bitbucket:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: 'Checkout'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: 'Mirror to bitbucket'
|
||||||
|
uses: pixta-dev/repository-mirroring-action@v1
|
||||||
|
with:
|
||||||
|
target_repo_url:
|
||||||
|
git@bitbucket.com:rwkgyg/acme-script.git
|
||||||
|
ssh_private_key:
|
||||||
|
${{ secrets.private_key }}
|
Loading…
Reference in New Issue