Skip to content

Commit

Permalink
Merge pull request #1471 from mozmeao/gitlab-sync
Browse files Browse the repository at this point in the history
[Fix #1470] Setup GitLab mirroring with GitHub Actions.
  • Loading branch information
glogiotatidis committed Nov 11, 2020
2 parents 512d42a + d6388e1 commit 7f58e8d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/weekly-digest.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Mirroring

on: [push, delete]

jobs:
to_gitlab:
runs-on: ubuntu-18.04
steps:
- uses: mozmeao/checkout@v1
- uses: mozmeao/repository-mirroring-action@v1
with:
target_repo_url:
git@gitlab.com:mozmeao/snippets-service.git
ssh_private_key:
# Set at https://github.com/organizations/mozmeao/settings/secrets/
${{ secrets.GITLAB_SSH_PRIVATE_KEY }}

0 comments on commit 7f58e8d

Please sign in to comment.