diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-02-24 14:09:22 +0100 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2021-05-04 16:00:00 +0000 |
commit | 424b062676f879e10efae625002d73d20aee26ba (patch) | |
tree | d89d11944d568b6279b58a5c96e910e5d94aee11 /.github/workflows/repo-sync.yml | |
parent | ffeda392b109ee6231a5fc12a4b4a7076674dce5 (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 }} |