Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Neo
Manage
Activity
Members
Labels
Plan
Issues
0
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
NeuralEnsemble
Neo
Commits
10a94fad
Unverified
Commit
10a94fad
authored
2 years ago
by
Andrew Davison
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Create ebrains.yml
parent
8428d445
No related branches found
No related tags found
No related merge requests found
Pipeline
#20146
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/ebrains.yml
+30
-0
30 additions, 0 deletions
.github/workflows/ebrains.yml
with
30 additions
and
0 deletions
.github/workflows/ebrains.yml
0 → 100644
+
30
−
0
View file @
10a94fad
name
:
Mirror to EBRAINS
# Configure the events that are going to trigger tha automated update of the mirror
on
:
push
:
branches
:
[
master
]
# Configure what will be updated
jobs
:
# set the job name
to_ebrains
:
runs-on
:
ubuntu-latest
steps
:
# this task will push the master branch of the source_repo (github) to the
# destination_repo (ebrains gitlab)
-
name
:
syncmaster
uses
:
wei/git-sync@v3
with
:
source_repo
:
https://github.com/NeuralEnsemble/python-neo
source_branch
:
"
put
the
branch
that
will
be
pushed
to
the
mirror"
destination_repo
:
"
https://ghpusher:${{
secrets.EBRAINS_GITLAB_ACCESS_TOKEN
}}@gitlab.ebrains.eu/NeuralEnsemble/neo.git"
destination_branch
:
"
main"
# this task will push all tags from the source_repo to the destination_repo
-
name
:
synctags
uses
:
wei/git-sync@v3
with
:
source_repo
:
https://github.com/NeuralEnsemble/python-neo
source_branch
:
"
refs/tags/*"
destination_repo
:
"
https://ghpusher:${{
secrets.EBRAINS_GITLAB_ACCESS_TOKEN
}}@gitlab.ebrains.eu/NeuralEnsemble/neo.git"
destination_branch
:
"
refs/tags/*"
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