build into same directory

This commit is contained in:
Julien Fastré 2022-05-11 11:38:29 +02:00
parent ea6b32697c
commit 17d5bbc610
4 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ steps:
- name: build-presentation - name: build-presentation
image: pandoc/minimal:2.18-alpine image: pandoc/minimal:2.18-alpine
commands: commands:
- pandoc -t revealjs --resource-path=.:presentation/src/img:presentation/src/ -s presentation/src/index.md -o presentation/build/index.html - pandoc -t revealjs --resource-path=.:presentation/src/img:presentation/src/ -s presentation/src/index.md -o presentation/src/index.html
- name: build-docker-caddy - name: build-docker-caddy
image: plugins/docker image: plugins/docker

View File

@ -10,7 +10,7 @@ Dépendance: `pandoc 2.17`
Compiler: Compiler:
```bash ```bash
pandoc -t revealjs --resource-path=.:presentation/src/img:presentation/src/ --self-contained -s presentation/src/index.md -o presentation/build/index.html pandoc -t revealjs --resource-path=.:presentation/src/img:presentation/src/ --self-contained -s presentation/src/index.md -o presentation/src/index.html
``` ```
## TODO ## TODO

View File

@ -1,3 +1,3 @@
FROM caddy:2-alpine FROM caddy:2-alpine
ADD build/ /usr/share/caddy/ ADD src/ /usr/share/caddy/