mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 08:38:37 +00:00
Change mirror to only run if a key is set
This commit is contained in:
7
.github/workflows/mirroring.yml
vendored
7
.github/workflows/mirroring.yml
vendored
@@ -5,11 +5,10 @@ on: [push, delete]
|
|||||||
jobs:
|
jobs:
|
||||||
to_gitlab:
|
to_gitlab:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
if: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: pixta-dev/repository-mirroring-action@v1
|
- uses: pixta-dev/repository-mirroring-action@v1
|
||||||
with:
|
with:
|
||||||
target_repo_url:
|
target_repo_url: git@gitlab.com:insert/revolt-vite.git
|
||||||
git@gitlab.com:insert/revolt-vite.git
|
ssh_private_key: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
|
||||||
ssh_private_key:
|
|
||||||
${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user