forked from NeuralEnsemble/elephant
-
Notifications
You must be signed in to change notification settings - Fork 9
26 lines (23 loc) · 964 Bytes
/
ebrains.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Mirror to EBRAINS
on:
push:
branches: [ master ]
jobs:
sync_to_ebrains:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'NeuralEnsemble' }}
steps:
- name: syncmaster
uses: wei/git-sync@55c6b63b4f21607da0e9877ca9b4d11a29fc6d83 # corresponds to v3
with:
source_repo: "NeuralEnsemble/elephant"
source_branch: "master"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/neuralensemble/elephant.git"
destination_branch: "master"
- name: synctags
uses: wei/git-sync@55c6b63b4f21607da0e9877ca9b4d11a29fc6d83 # corresponds to v3
with:
source_repo: "NeuralEnsemble/elephant"
source_branch: "refs/tags/*"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/neuralensemble/elephant.git"
destination_branch: "refs/tags/*"