Compare commits
1 Commits
test
...
c002568e10
| Author | SHA1 | Date | |
|---|---|---|---|
| c002568e10 |
@@ -50,13 +50,11 @@ 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
|
||||
|
||||
# IMPORTANT: convert shallow clone to full history
|
||||
- git fetch --depth=1000000
|
||||
|
||||
# Force push Gitea -> GitHub
|
||||
- git push -f github HEAD:main
|
||||
- git fetch github main
|
||||
- git rebase github/main
|
||||
- git push github HEAD:main
|
||||
Reference in New Issue
Block a user