Skip to content

Load db credentials from config. (#42) #15

Load db credentials from config. (#42)

Load db credentials from config. (#42) #15

Workflow file for this run

name: Mirror to Ebrains
on:
push:
branches: [ main ]
tags:
- '*'
jobs:
to_ebrains:
runs-on: ubuntu-latest
steps:
- name: syncmaster
uses: wei/git-sync@v3
with:
source_repo: "madgik/mipdb"
source_branch: "main"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/hbp-mip/mipdb.git"
destination_branch: "main"
- name: synctags
uses: wei/git-sync@v3
with:
source_repo: "madgik/mipdb"
source_branch: "refs/tags/*"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/hbp-mip/mipdb.git"
destination_branch: "refs/tags/*"