Skip to content

Commit a16ffe8

Browse files
committed
fix(deployment): shorten commit message for deployment logs
1 parent 7d66122 commit a16ffe8

2 files changed

Lines changed: 72 additions & 174 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ jobs:
195195
- checkout
196196
- run:
197197
name: Deploy Staging
198-
command: yarn vapor deploy staging --commit $CIRCLE_SHA1 --message "$(git log --format=%B -n 1 $CIRCLE_SHA1)"
198+
command: yarn vapor deploy staging --commit $CIRCLE_SHA1 --message "$(git log --format=%B -n 1 $CIRCLE_SHA1 | head -n 3)"
199199

200200
deploy-production:
201201
<<: *defaults
@@ -207,4 +207,4 @@ jobs:
207207
- checkout
208208
- run:
209209
name: Deploy Production
210-
command: yarn vapor deploy production --commit $CIRCLE_SHA1 --message "$(git log --format=%B -n 1 $CIRCLE_SHA1)"
210+
command: yarn vapor deploy production --commit $CIRCLE_SHA1 --message "$(git log --format=%B -n 1 $CIRCLE_SHA1 | head -n 3)"

0 commit comments

Comments
 (0)