Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multi-area-model
Manage
Activity
Members
Labels
Plan
Issues
7
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IAS-6
multi-area-model
Commits
bea10a90
Commit
bea10a90
authored
1 year ago
by
Didi Hou
Browse files
Options
Downloads
Patches
Plain Diff
created workflow to push to mirror repo on ebrains
parent
09c0d4e3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/ebrains-push.yml
+31
-0
31 additions, 0 deletions
.github/workflows/ebrains-push.yml
with
31 additions
and
0 deletions
.github/workflows/ebrains-push.yml
0 → 100644
+
31
−
0
View file @
bea10a90
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
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment