Skip to content
Snippets Groups Projects
Commit 75ac7677 authored by Aurélien Jaquier's avatar Aurélien Jaquier
Browse files

add gh workflow to sync to ebrains mirror at each push

parent b2326f42
No related branches found
No related tags found
No related merge requests found
name: Mirror to Ebrains
on:
push:
branches: [ master ]
jobs:
to_ebrains:
runs-on: ubuntu-latest
steps:
- name: syncmaster
uses: wei/git-sync@v3
with:
source_repo: "BlueBrain/BluePyMM"
source_branch: "master"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/BlueBrain/bluepymm.git"
destination_branch: "master"
- name: synctags
uses: wei/git-sync@v3
with:
source_repo: "BlueBrain/BluePyMM"
source_branch: "refs/tags/*"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/BlueBrain/bluepymm.git"
destination_branch: "refs/tags/*"
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment