Compare commits
1 Commits
test
...
c002568e10
| Author | SHA1 | Date | |
|---|---|---|---|
| c002568e10 |
@@ -31,7 +31,7 @@ steps:
|
|||||||
# -Dsonar.projectKey=Magiciian_dummy-app
|
# -Dsonar.projectKey=Magiciian_dummy-app
|
||||||
# -Dsonar.organization=$SONAR_ORGANIZATION
|
# -Dsonar.organization=$SONAR_ORGANIZATION
|
||||||
# -Dsonar.sources=.
|
# -Dsonar.sources=.
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: curlimages/curl
|
image: curlimages/curl
|
||||||
environment:
|
environment:
|
||||||
@@ -50,13 +50,11 @@ steps:
|
|||||||
when:
|
when:
|
||||||
status: [ success ]
|
status: [ success ]
|
||||||
commands:
|
commands:
|
||||||
|
- echo "Verifying local git integrity..."
|
||||||
|
- git fsck --full
|
||||||
- git config --global user.name "woodpecker"
|
- git config --global user.name "woodpecker"
|
||||||
- git config --global user.email "ci@localhost"
|
- git config --global user.email "ci@localhost"
|
||||||
|
|
||||||
- git remote add github https://$GITHUB_TOKEN@github.com/Magiciian/dummy-app.git
|
- git remote add github https://$GITHUB_TOKEN@github.com/Magiciian/dummy-app.git
|
||||||
|
- git fetch github main
|
||||||
# IMPORTANT: convert shallow clone to full history
|
- git rebase github/main
|
||||||
- git fetch --depth=1000000
|
- git push github HEAD:main
|
||||||
|
|
||||||
# Force push Gitea -> GitHub
|
|
||||||
- git push -f github HEAD:main
|
|
||||||
Reference in New Issue
Block a user