Add push sync to opencode gitlab

pull/11596/head
Oliver Günther 2 years ago
parent 1ebb722a3d
commit 318c774f22
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 21
      .github/workflows/opencode-sync.yml

@ -0,0 +1,21 @@
name: opencode-sync
on:
workflow_dispatch:
schedule:
- cron: '5 */1 * * *' # Every hour
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
to_gitlab:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
git@gitlab.opencode.de:bmi/souveraener_arbeitsplatz/component-code/management/openproject/openproject-core.git
ssh_private_key:
${{ secrets.OPENCODE_SYNC_SSH_PRIVATE_KEY }}
Loading…
Cancel
Save