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