diff --git a/install.yaml b/install.yaml index 7059a3d..8e9bcc3 100644 --- a/install.yaml +++ b/install.yaml @@ -1,15 +1,13 @@ name: mkdocs -pre_install_actions: +project_files: + - docker-compose.mkdocs.yaml + - docs + +post_install_actions: - test -d ${DDEV_APPROOT}/docs || mkdir -p ${DDEV_APPROOT}/docs - test -d ${DDEV_APPROOT}/docs/docs || mkdir -p ${DDEV_APPROOT}/docs/docs - test -f ${DDEV_APPROOT}/docs/mkdocs.yml || cp docs/mkdocs.yml ${DDEV_APPROOT}/docs/mkdocs.yml - test -f ${DDEV_APPROOT}/docs/docs/index.md || echo "## Welcome to Mkdocs" > ${DDEV_APPROOT}/docs/docs/index.md - -project_files: -- docker-compose.mkdocs.yaml -- docs - -post_install_actions: - - echo "Mkdocs install finished. Please restart ddev with 'ddev restart'" + - echo "Mkdocs install finished. Please restart ddev with 'ddev restart'" \ No newline at end of file