fix(core): update

This commit is contained in:
Philipp Kunz 2019-05-15 21:42:29 +02:00
parent 0c7f50e3cc
commit 38f3ccb364

View File

@ -45,7 +45,7 @@ export class MkDocs {
await this.update(); await this.update();
await this.smartshellInstance.exec(`rm -rf public/`); await this.smartshellInstance.exec(`rm -rf public/`);
await this.smartshellInstance.exec( await this.smartshellInstance.exec(
`docker run --rm -it -p 8000:8000 -v ${ `docker run --rm -p 8000:8000 -v ${
paths.cwd paths.cwd
}:/docs registry.gitlab.com/hosttoday/ht-docker-mkdocs build` }:/docs registry.gitlab.com/hosttoday/ht-docker-mkdocs build`
); );
@ -54,7 +54,7 @@ export class MkDocs {
public async serve() { public async serve() {
await this.update(); await this.update();
await this.smartshellInstance.exec( await this.smartshellInstance.exec(
`docker run --rm -it -p 8000:8000 -v ${ `docker run --rm -p 8000:8000 -v ${
paths.cwd paths.cwd
}:/docs registry.gitlab.com/hosttoday/ht-docker-mkdocs` }:/docs registry.gitlab.com/hosttoday/ht-docker-mkdocs`
); );