Skip to content

Commit abeb22a

Browse files
committed
Fix permissions
1 parent f21ad7c commit abeb22a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

website/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,20 @@ SHELL := bash
1414
MAKEFLAGS += --warn-undefined-variables
1515
MAKEFLAGS += --no-builtin-rules
1616

17-
1817
COMPOSE = docker-compose
1918

19+
RUN_JEKYLL = $(COMPOSE) run -e JEKYLL_UID=$(shell id -u) -e JEKYLL_GID=$(shell id -g) jekyll
20+
2021
# Non file-generating targets
2122
.PHONY: build server update
2223

2324
default: build
2425

2526
build:
26-
$(COMPOSE) run jekyll jekyll build
27+
$(RUN_JEKYLL) jekyll build
2728

2829
server:
2930
$(COMPOSE) up
3031

3132
update:
32-
$(COMPOSE) run jekyll bundle update
33+
$(RUN_JEKYLL) bundle update

0 commit comments

Comments
 (0)