Added action to mirror to Gitlab
This commit is contained in:
parent
beb8115acb
commit
f223dec437
17
.github/workflows/mirror.yml
vendored
Normal file
17
.github/workflows/mirror.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: Mirroring
|
||||||
|
|
||||||
|
on: [push, delete]
|
||||||
|
|
||||||
|
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:rogs/bitwarden-to-keepass.git
|
||||||
|
ssh_private_key:
|
||||||
|
${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
|
Loading…
x
Reference in New Issue
Block a user