Skip to content

Commit

Permalink
ci(sendsay-docs): gitlab sync
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksnick committed Mar 25, 2024
1 parent d3cde6b commit ff0c151
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/gitlab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Backup to gitlab

on: [push, delete]

jobs:
to_gitlab:
runs-on: ubuntu-latest

if: ${{ startsWith(github.repository, 'sendsay-ru') }}

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url: [email protected]:sendsay-ru/sendsay-docs.git
ssh_private_key: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}

0 comments on commit ff0c151

Please sign in to comment.