Skip to content
Snippets Groups Projects
Commit ab3d970c authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Trying mkdocs only

parent c90c14c1
No related branches found
No related tags found
No related merge requests found
...@@ -72,11 +72,12 @@ mv $3/ docs/ ...@@ -72,11 +72,12 @@ mv $3/ docs/
cat _nav.yml >> mkdocs.yml cat _nav.yml >> mkdocs.yml
echo "------ Generating site --------" echo "------ Generating site --------"
docker run --rm -u $(id -u):$(id -g) -v $(pwd):/tmp -w /tmp "$MIKE_DOCKER_IMAGE" /bin/sh -c 'git config user.name ci-bot && git config user.email ci-bot@example.com && mike deploy -u $4 latest' #docker run --rm -u $(id -u):$(id -g) -v $(pwd):/tmp -w /tmp "$MIKE_DOCKER_IMAGE" /bin/sh -c 'git config user.name ci-bot && git config user.email ci-bot@example.com && mike deploy -u $4 latest'
docker run --rm -u $(id -u):$(id -g) -v $(pwd):/tmp -w /tmp "$MIKE_DOCKER_IMAGE" /bin/sh -c 'git config user.name ci-bot && git config user.email ci-bot@example.com && mike set-default latest' #docker run --rm -u $(id -u):$(id -g) -v $(pwd):/tmp -w /tmp "$MIKE_DOCKER_IMAGE" /bin/sh -c 'git config user.name ci-bot && git config user.email ci-bot@example.com && mike set-default latest'
docker run --rm -u $(id -u):$(id -g) -v $(pwd):/tmp -w /tmp "$MIKE_DOCKER_IMAGE" mkdocs build -d public
echo "------ Move to output to public folder --------" echo "------ Move to output to public folder --------"
mv site/* public/ #mv site/* public/
########################### ###########################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment