diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-02-24 14:09:22 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-05-15 13:11:34 +0200 |
commit | 8e75d699785f61e8baed4ade9268811c71d1bbb4 (patch) | |
tree | 2bc49f158808ab7e8b45e910349bf3bdf4adcb85 /.github/workflows/repo-sync.yml | |
parent | ccc66f44d8b82523559703f84b647fba8623c55d (diff) |
add github action for autosync
Diffstat (limited to '.github/workflows/repo-sync.yml')
-rw-r--r-- | .github/workflows/repo-sync.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml new file mode 100644 index 000000000..4284463f9 --- /dev/null +++ b/.github/workflows/repo-sync.yml @@ -0,0 +1,19 @@ +on: + schedule: + - cron: "*/15 * * * *" + workflow_dispatch: + +jobs: + repo-sync: + 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 }} |