Add scripts and tasks to publish docs to github pages

This commit is contained in:
Manuel de Brito Fontes 2018-04-26 18:51:12 -03:00 committed by Travis Bot
parent bad526bd54
commit 212f8bf73a
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
6 changed files with 73 additions and 15 deletions

View file

@ -16,6 +16,11 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$COMPONENT" == "docs" ]; then
echo "Skipping because we are publishing docs"
exit 0
fi
if [ $# -eq "1" ]
then
export ARCH=$1
@ -26,11 +31,6 @@ source $DIR/common.sh
echo "Login to quay.io..."
docker login --username=$QUAY_USERNAME --password=$QUAY_PASSWORD quay.io >/dev/null 2>&1
if [ $# -eq "1" ]
then
export ARCH=$1
fi
case "$COMPONENT" in
"ingress-controller")
$DIR/ingress-controller.sh