aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/mirroring.yml
blob: d804f54c4a78df079a20c6549248fdafd82c477b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Mirroring

on: 
  push:
  delete:
  pull_request:
    branches: [ master ]

jobs:
  lint-and-mirror:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - name: PHP Lint
      uses: michaelw90/PHP-Lint@2.1.0

    - name: Mirror to VOC gitolite
      uses: pixta-dev/repository-mirroring-action@v1
      with:
        target_repo_url:
          git@git.c3voc.de:streaming-website.git
        ssh_private_key:
          ${{ secrets.SSH_PRIVATE_KEY }}