zeus
3 years ago
4 changed files with 47 additions and 6 deletions
@ -1 +1 @@ |
|||
docker run -ti -v $PWD/docs:/antora hub.swarmlab.io:5480/antora /bin/sh -c "build-local.sh" |
|||
docker run -ti -v $PWD/docs:/antora -v $PWD:/doc-repo hub.swarmlab.io:5480/antora /bin/sh -c "build-local.sh" |
|||
|
@ -0,0 +1,15 @@ |
|||
#!/bin/sh |
|||
|
|||
if [ ! -z $1 ]; then |
|||
comment=$1 |
|||
git add . |
|||
git commit -m"$comment" |
|||
git push origin |
|||
else |
|||
echo "" |
|||
echo "Whe need a comment for the curent push" |
|||
echo "" |
|||
echo "usage: ./push.sh \"comment here\" " |
|||
fi |
|||
|
|||
|
Loading…
Reference in new issue