summaryrefslogtreecommitdiffstats
path: root/.github/workflows/repo-sync.yml
blob: b4c91299f117c19fd5d0d71bea97efa16f3bcfe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
on:
  schedule:
  - cron:  "*/15 * * * *"
  workflow_dispatch:

jobs:
  repo-sync:
    if: github.repository_owner == 'Mic92'
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        persist-credentials: false
    - name: repo-sync
      uses: repo-sync/github-sync@v2
      with:
        source_repo: "https://git.thalheim.io/Mic92/stockholm.git"
        source_branch: "master"
        destination_branch: "master"
        github_token: ${{ secrets.PAT }}