docs: fix diagram build

This commit is contained in:
Khue Doan 2021-11-28 13:48:44 +07:00
parent 18734b9176
commit 268639fe53
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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: