Update .woodpecker.yml
This commit is contained in:
@@ -50,5 +50,12 @@ steps:
|
|||||||
when:
|
when:
|
||||||
status: [ success ]
|
status: [ success ]
|
||||||
commands:
|
commands:
|
||||||
|
# --- ADDED: Verify repository integrity ---
|
||||||
|
- echo "Verifying local git integrity..."
|
||||||
|
- git fsck --full
|
||||||
|
# If the above fails, the pipeline step will stop here.
|
||||||
|
|
||||||
|
# --- Existing Commands ---
|
||||||
- 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 push github HEAD:main
|
- git push github HEAD:main
|
||||||
|
|
||||||
Reference in New Issue
Block a user