Restructered repository and added dockerfiles.
This commit is contained in:
parent
6f626ea686
commit
25dde6a119
8 changed files with 86 additions and 22 deletions
5
dockerfile/git-mkdocs/scripts/git-mkdocs
Normal file
5
dockerfile/git-mkdocs/scripts/git-mkdocs
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
git clone $GIT_REPO_URL
|
||||
cd /mkdocs/$GIT_REPO_NAME
|
||||
git pull
|
||||
mkdocs build -f /mkdocs/$GIT_REPO_NAME/mkdocs.yml -d /usr/share/nginx/html
|
3
dockerfile/git-mkdocs/scripts/root
Normal file
3
dockerfile/git-mkdocs/scripts/root
Normal file
|
@ -0,0 +1,3 @@
|
|||
# do daily/weekly/monthly maintanance
|
||||
# min hour day month weekday command
|
||||
* * * * * git-mkdocs
|
Loading…
Add table
Add a link
Reference in a new issue