Skip to content
Snippets Groups Projects
Commit bea10a90 authored by Didi Hou's avatar Didi Hou
Browse files

created workflow to push to mirror repo on ebrains

parent 09c0d4e3
No related branches found
No related tags found
No related merge requests found
name: Mirror to EBRAINS
on:
push:
branches: [ master ]
jobs:
sync_to_ebrains:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'didi-hou' }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
disable-telemetry: true
- name: sycnmaster
uses: wei/git-sync@55c6b63b4f21607da0e9877ca9b4d11a29fc6d83
with:
source_repo: "INM-6/multi-area-model"
source_branch: "master"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/didi-hou/multi-area-model.git"
destination_branch: "master"
- name: synctags
uses: wei/git-sync@55c6b63b4f21607da0e9877ca9b4d11a29fc6d83
with:
source_repo: "INM-6/multi-area-model"
source_branch: "refs/tags/*"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/didi-hou/multi-area-model.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