Skip to content

Commit

Permalink
add automated mirror to EBRAINS GitLab
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Aug 23, 2023
1 parent cc4b458 commit 5fef026
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ebrains.yml
@@ -0,0 +1,31 @@
name: Mirror to EBRAINS

on:
push:
branches: [ master, staging ]

jobs:
to_ebrains:
runs-on: ubuntu-latest
steps:
- name: syncmaster
uses: wei/git-sync@v3
with:
source_repo: "HumanBrainProject/hbp-validation-framework"
source_branch: "master"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/model-validation/hbp-validation-framework.git"
destination_branch: "master"
- name: syncstaging
uses: wei/git-sync@v3
with:
source_repo: "HumanBrainProject/hbp-validation-framework"
source_branch: "staging"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/model-validation/hbp-validation-framework.git"
destination_branch: "staging"
- name: synctags
uses: wei/git-sync@v3
with:
source_repo: "HumanBrainProject/hbp-validation-framework"
source_branch: "refs/tags/*"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/model-validation/hbp-validation-framework.git"
destination_branch: "refs/tags/*"

0 comments on commit 5fef026

Please sign in to comment.