From 1f048c20b70416b9177b2b96ad6c8ff8770850f4 Mon Sep 17 00:00:00 2001 From: David Rodrguez Date: Fri, 15 Jul 2022 14:31:54 +0200 Subject: [PATCH] SH-13 -(DDV)-Launch copy of images for drupal backend #13 --- .ddev/config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.ddev/config.yaml b/.ddev/config.yaml index de021f2..d2e5ebd 100644 --- a/.ddev/config.yaml +++ b/.ddev/config.yaml @@ -21,6 +21,7 @@ hooks: - exec-host: "([ ! -f ./.ddev/docker-compose.mkdocs.yaml ] && mv ./mkdocs/docker-compose.mkdocs.yaml ./.ddev/) || (echo 'A MkDocs service file has been located in your system.')" - exec-host: "([ -d ./mkdocs/docs ] && cd ./mkdocs/docs && git pull origin) || (git clone https://github.com/davidjguru/summerhouse.wiki.git ./mkdocs/docs)" - exec-host: "cp -r ./images/assets/* ./frontend_react/src/assets/" + - exec-host: "cp -r ./images/assets/* ./backend_drupal/sites/default/files/" - exec-host: "sed -i '12s/restart: \"no\"/restart: \"always\"/' ./.ddev/docker-compose.portainer.yaml" post-start: - exec: sudo echo alias ll=\"ls -lhA\" >> ~/.bashrc