2021-02-24 14:09:22 +01:00
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "*/15 * * * *"
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
repo-sync:
|
2021-08-05 21:25:09 +02:00
|
|
|
if: github.repository_owner == 'Mic92'
|
2021-02-24 14:09:22 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-25 06:40:23 +02:00
|
|
|
- uses: actions/checkout@v4
|
2021-02-24 14:09:22 +01:00
|
|
|
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 }}
|