update makefile
This commit is contained in:
parent
37b0c68600
commit
4ac43a5cfb
2 changed files with 9 additions and 3 deletions
10
Makefile
10
Makefile
|
@ -1,5 +1,11 @@
|
||||||
build:
|
build:
|
||||||
docker run -u "$(id -u):$(id -g)" -v ${PWD}:/app --workdir /app ghcr.io/getzola/zola:v0.17.1 build
|
zola build
|
||||||
|
|
||||||
serve:
|
serve:
|
||||||
docker run -u "$(id -u):$(id -g)" -v ${PWD}:/app --workdir /app -p 1111:1111 ghcr.io/getzola/zola:v0.17.1 serve --interface 0.0.0.0 --port 1111 --base-url localhost
|
zola serve --interface 0.0.0.0 --port 1111 --base-url localhost
|
||||||
|
|
||||||
|
publish: build
|
||||||
|
cp -r public/* /usr/share/nginx/snamellit/
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf public
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1a510f1be436d04c36a3ff0596b3162673ff1298
|
Subproject commit d987049cd2660ab019ebaaf108aa69fff7fb847d
|
Loading…
Reference in a new issue