Skip to content

Commit

Permalink
Use CI to sync with gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Apr 29, 2024
1 parent 18e4aef commit fc93a71
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/github-sync.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit fc93a71

Please sign in to comment.