From 00968c92209e5055ae497f58028eb333f7709bd4 Mon Sep 17 00:00:00 2001 From: Loutr_ <l.ta-ma@proton.me> Date: Sun, 22 Jan 2023 20:19:14 +0100 Subject: [PATCH] chore: add GitHub action for mirroring --- .github/workflows/mirror.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/mirror.yml diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 00000000..e127b25f --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,19 @@ +on: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + repo-sync: + runs-on: ubuntu-latest + steps: + - uses: nschloe/action-cached-lfs-checkout@v1 + + - name: repo-sync + uses: proost-assistant/github-sync-lfs@v1.0 + with: + sync_tags: true + source_repo: "https://gitlab.crans.org/loutr/proost" + source_branch: "*" + destination_branch: "*" + github_token: ${{ secrets.GITHUB_TOKEN }} -- GitLab