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

on:
  workflow_dispatch:
  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 }}