diff --git a/docs/Makefile b/docs/Makefile index 4915fe99..b489e7ac 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -9,6 +9,8 @@ diagrams: && source .venv/bin/activate \ && pip3 install -r requirements.txt \ && python3 *.py + mkdir -p src/images + cp diagrams/*.jpg src/images/ .PHONY: book book: diagrams @@ -21,4 +23,6 @@ deploy: cp -rp book/* /tmp/book/ cd /tmp/book \ && git add . \ - && git commit --message "Updates" || echo "No changes to commit" + && git commit --message "Updates" || echo "No changes to commit" \ + && git push + git worktree remove /tmp/book diff --git a/docs/src/deployment/provisioning_flow.md b/docs/src/deployment/provisioning_flow.md index 27a15494..2027df43 100644 --- a/docs/src/deployment/provisioning_flow.md +++ b/docs/src/deployment/provisioning_flow.md @@ -1,6 +1,6 @@ # Provisioning flow -![Provisioning flow](../diagrams/provisioning_flow.jpg) +![Provisioning flow](../images/provisioning_flow.jpg) Everything is automated, after you edit the configuration files, you just need to run a single `make` command and it will: