Skip to content

Commit ba854cc

Browse files
committed
Add deploy date step back to build
1 parent 68a3cca commit ba854cc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.circleci/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ workflows:
77
jobs:
88
- build
99
- heroku/deploy-via-git:
10+
pre-steps:
11+
- run:
12+
name: Set deploy date
13+
command: |
14+
DEPLOY_DATE=`date "+%FT%T%z"`
15+
heroku config:set --app=$HEROKU_APP_NAME DEPLOY_DATE="$DEPLOY_DATE"
1016
post-steps:
1117
- run: heroku run python manage.py migrate --app $HEROKU_APP_NAME
1218
requires:

0 commit comments

Comments
 (0)