Update ai4-metadata.yml #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
# 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 }} |