-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kick.yml
executable file
·34 lines (26 loc) · 983 Bytes
/
.kick.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Kickstart container config file - see https://gitub.com/infracamp/kickstart
# Run ./kickstart.sh to start a development-container for this project
version: 1
from: "ghcr.io/nfra-project/kickstart-flavor-jekyll:2.0"
ports: "80:80;4000:4000;4100:4100"
command:
build:
- "jekyll build -s /opt/docs -d /var/www/html"
run:
resize_images:
- 'find /opt/docs/assets/img -type f -exec mogrify -quality 60 -resize 1000x720^\> {} \;'
- 'find /opt/docs/assets/user -type f -exec mogrify -quality 60 -resize 1000x720^\> {} \;'
jekyll: |
jekyll serve -s /opt/docs -d /var/www/html --drafts --livereload --port 4000 --livereload-port 4100 --host 0.0.0.0
dev:
- killall jekyll || echo "no job"
- "D:setsid kick jekyll"
init-workspaces:
- "mkdir -p workspaces"
- "git -C ./workspaces/ clone [email protected]:dermatthes/leu-web-components.git"
- "npm install"
update:
- "npm update"
- "webpack build"
killall:
- killall jekyll