Skip to content

Commit 1ffdb11

Browse files
committed
Update docksal node image, rename command (from update-site to compile), Update wording
1 parent c20578b commit 1ffdb11

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.docksal/commands/compile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env bash
2+
3+
## Compile styleguide and site based on src
4+
##
5+
## Usage: fin compile
6+
7+
# Abort if anything fails
8+
set -e
9+
10+
source "${PROJECT_ROOT}/.docksal/commands/helpers"
11+
12+
#-------------------------- Execution --------------------------------
13+
14+
# Site updating
15+
echo -e "${green_bg} Step 1 ${NC}${green} Compiling...${NC}"
16+
17+
time -p compile
18+
19+
echo -e "${green_bg} DONE! ${NC}${green} Completed all compiling steps.${NC}"
20+
21+
#-------------------------- END: Execution --------------------------------

.docksal/commands/helpers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ echo_yellow () { echo -e "${yellow}$1${NC}"; }
3030
# Compile SCSS
3131
compile ()
3232
{
33-
echo_green "Compiling"
33+
#echo_green "Compiling"
3434
fin gulp
3535
}
3636

.docksal/docksal.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ VIRTUAL_HOST=esante-ressources.docksal.site
1313

1414
# Lock images versions for LAMP services
1515
# This will prevent images from being updated when Docksal is updated
16-
NODE_IMAGE='node:10-alpine'
16+
NODE_IMAGE='node:12-alpine'
1717

1818
# Override document root ('docroot' by default)
1919
DOCROOT=styleguide

0 commit comments

Comments
 (0)