Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
modules
duniter-ui
Commits
d96df6ee
There was a problem fetching the pipeline summary.
Commit
d96df6ee
authored
7 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
disable enforce readme
parent
4dcb76a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+0
-19
0 additions, 19 deletions
.gitlab-ci.yml
with
0 additions
and
19 deletions
.gitlab-ci.yml
+
0
−
19
View file @
d96df6ee
...
...
@@ -18,22 +18,3 @@ push_to_github:
-
bash -c "cat packed-refs | grep -v 'refs/pull' > packed-refs-new; echo 'Removed pull refs.'"
-
mv packed-refs-new packed-refs
-
bash -c "git push --force --mirror github 2>&1 | grep -v duniter-gitlab; echo $?"
enforce_readme
:
stage
:
github-sync
variables
:
GIT_STRATEGY
:
none
tags
:
-
github
script
:
-
rm -rf ./*
-
rm -rf .git
-
git clone $GITHUB_URL_AND_KEY .
-
git config --global user.email "contact@duniter.org"
-
git config --global user.name "Duniter"
-
git checkout master
-
cat .github/github_disclaimer.md > README.md.new
-
cat README.md >> README.md.new
-
cp README.md.new README.md
-
git commit -am "Enforce github readme"
-
git push origin master
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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