diff --git a/.woodpecker.yml b/.woodpecker.yml index da3d93f..f6d5699 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -331,20 +331,20 @@ pipeline: image: alpine:latest commands: - echo "🎉 Pipeline completed successfully!" - - echo "Branch: ${CI_COMMIT_BRANCH}" - - echo "Commit: ${CI_COMMIT_SHA:0:8}" - - echo "Image: hub.peikarband.ir/peikarband/landing:${CI_COMMIT_SHA:0:8}" + - echo "Branch:" "${CI_COMMIT_BRANCH}" + - echo "Commit:" "${CI_COMMIT_SHA:0:8}" + - echo "Image:" "hub.peikarband.ir/peikarband/landing:${CI_COMMIT_SHA:0:8}" when: - - event: [push, tag] - status: success + event: [push, tag] + status: success notify-failure: image: alpine:latest commands: - echo "❌ Pipeline failed!" - - echo "Branch: ${CI_COMMIT_BRANCH}" - - echo "Commit: ${CI_COMMIT_SHA:0:8}" + - echo "Branch:" "${CI_COMMIT_BRANCH}" + - echo "Commit:" "${CI_COMMIT_SHA:0:8}" - echo "Please check the logs above" when: - - event: [push, tag] - status: failure + event: [push, tag] + status: failure