Skip to content

Commit 2b09448

Browse files
committed
deploy: Update production deployment hook.
1 parent a08f167 commit 2b09448

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

deploy/hooks/post-receive-production

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@ repo_checkout_tag ${LAST_TAG}
2525
# 2. install node packages
2626
npm_install ${LAST_TAG}
2727

28-
# 3. change symlink
28+
# 3. compile to javascript
29+
build ${LAST_TAG}
30+
31+
# 4. change symlink
2932
repo_link ${LAST_TAG}
3033

31-
# 4. reload node cluster
34+
# 5. reload node cluster
3235
node_cluster_reload
3336

34-
# 5. cleanup old deployment
37+
# 6. cleanup old deployment
3538
repo_cleanup "v[0-9]+\.[0-9]+\.[0-9]+"
3639

3740
echo ==================================================================

0 commit comments

Comments
 (0)