Skip to content

Update ai4-metadata.yml #12

Update ai4-metadata.yml

Update ai4-metadata.yml #12

name: GitlabSync
# Adjust for your needs, e.g. add your <branch-to-sync>
# for more info: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
on:
release:
branches:
- main
- master
push:
branches:
- main
- master
- test
- 'releases/**'
delete:
jobs:
sync:
runs-on: ubuntu-latest
name: Git Repo Sync
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ai4os/git-repo-sync@0.1.1
# FORK of https://github.com/wangchucheng/git-repo-sync.git
with:
# Such as e.g. https://codebase.helmholtz.cloud/m-team/ai/ai4os-yolov8-torch
target-url: https://codebase.helmholtz.cloud/m-team/ai/ai4os-yolov8-torch
# You can store secrets in your project's 'Setting > Secrets' and reference the names here. Such as ${{ secrets.TARGET_TOKEN }}
target-username: ${{ secrets.TARGET_USERNAME }}
target-token: ${{ secrets.TARGET_TOKEN }}