Skip to content

Commit af3b52b

Browse files
committed
Fixed install process
1 parent d4c02c0 commit af3b52b

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

install.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: mkdocs
22

3-
pre_install_actions:
3+
project_files:
4+
- docker-compose.mkdocs.yaml
5+
- docs
6+
7+
post_install_actions:
48
- test -d ${DDEV_APPROOT}/docs || mkdir -p ${DDEV_APPROOT}/docs
59
- test -d ${DDEV_APPROOT}/docs/docs || mkdir -p ${DDEV_APPROOT}/docs/docs
610
- test -f ${DDEV_APPROOT}/docs/mkdocs.yml || cp docs/mkdocs.yml ${DDEV_APPROOT}/docs/mkdocs.yml
711
- test -f ${DDEV_APPROOT}/docs/docs/index.md || echo "## Welcome to Mkdocs" > ${DDEV_APPROOT}/docs/docs/index.md
8-
9-
project_files:
10-
- docker-compose.mkdocs.yaml
11-
- docs
12-
13-
post_install_actions:
14-
- echo "Mkdocs install finished. Please restart ddev with 'ddev restart'"
12+
- echo "Mkdocs install finished. Please restart ddev with 'ddev restart'"
1513

0 commit comments

Comments
 (0)