This commit is contained in:
@@ -50,11 +50,13 @@ 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
|
|
||||||
- git rebase github/main
|
# NO FETCH
|
||||||
- git push github HEAD:main
|
# NO REBASE
|
||||||
|
# Just overwrite GitHub main with Gitea test
|
||||||
|
- git push -f github HEAD:main
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user