Skip to content

Commit 900cbc3

Browse files
committed
update
Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
1 parent 096ff9c commit 900cbc3

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

Taskfile.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,28 @@
11
---
22
version: '3'
33

4+
vars:
5+
PORT: 8000
6+
IMAGE: squidfunk/mkdocs-material
7+
48
tasks:
59
build:
610
desc: Build documentation using Docker and mkdocs-material
711
cmds:
812
- >-
913
docker run --rm -it -v ${PWD}:/docs --platform linux/amd64
10-
squidfunk/mkdocs-material build -f ./mkdocs.yml
14+
{{ .IMAGE }} build -f ./mkdocs.yml
15+
16+
update:
17+
desc: Update docker container
18+
cmds:
19+
- >-
20+
docker pull {{ .IMAGE }}
21+
22+
up:
23+
desc: Start server
24+
cmds:
25+
- task: serve
1126

1227
serve:
1328
desc: >-
@@ -16,12 +31,10 @@ tasks:
1631
cmds:
1732
- >-
1833
docker run --rm -it -p {{ .PORT }}:{{ .PORT}} -v ${PWD}:/docs
19-
--platform linux/amd64 squidfunk/mkdocs-material serve
34+
--platform linux/amd64 {{ .IMAGE }} serve
2035
--dev-addr 0.0.0.0:{{ .PORT }} -f ./mkdocs.yml
2136
deps:
2237
- build
23-
vars:
24-
PORT: 8000
2538

2639
linkcheck:
2740
desc: Run markdown-link-check

docs/homelab.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ enabled = true
3333
org_name = ORGANIZATION
3434
```
3535

36-
## Prometheus
36+
## :simple-prometheus: Prometheus
3737

3838
### :floppy_disk: Install
3939

0 commit comments

Comments
 (0)