From fc93a7155237a904c31d9a9521d972ef973bccfd Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Mon, 29 Apr 2024 18:59:34 -0400 Subject: [PATCH] Use CI to sync with gitlab --- .github/workflows/github-sync.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/github-sync.yml diff --git a/.github/workflows/github-sync.yml b/.github/workflows/github-sync.yml new file mode 100644 index 000000000..289caddae --- /dev/null +++ b/.github/workflows/github-sync.yml @@ -0,0 +1,21 @@ +# File: .github/workflows/github-sync.yml for i2p-hackers/i2p.android.base +on: + schedule: + - cron: "*/5 * * * *" + workflow_dispatch: +jobs: + repo-sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + name: repo-sync + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: repo-sync/github-sync@v2 + with: + source_repo: "https://i2pgit.org/i2p-hackers/i2p.android.base" + source_branch: "master" + destination_branch: "master" + github_token: ${{ secrets.PAT }}