mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 07:00:58 -05:00
Change mirror to only run if a key is set
This commit is contained in:
parent
12547ba0fe
commit
951a773b2c
1 changed files with 9 additions and 10 deletions
7
.github/workflows/mirroring.yml
vendored
7
.github/workflows/mirroring.yml
vendored
|
@ -5,11 +5,10 @@ on: [push, delete]
|
|||
jobs:
|
||||
to_gitlab:
|
||||
runs-on: ubuntu-18.04
|
||||
if: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: pixta-dev/repository-mirroring-action@v1
|
||||
with:
|
||||
target_repo_url:
|
||||
git@gitlab.com:insert/revolt-vite.git
|
||||
ssh_private_key:
|
||||
${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
|
||||
target_repo_url: git@gitlab.com:insert/revolt-vite.git
|
||||
ssh_private_key: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
|
||||
|
|
Loading…
Reference in a new issue