doc-importer: Update job name now that we build the API doc

This commit is contained in:
Thibault Saunier 2019-05-13 19:35:55 -04:00
parent 7ecf44d232
commit 4e5707d2b3

View file

@ -4,6 +4,7 @@ set -e
BRANCH=master
NAMESPACE=gstreamer
JOB=documentation
WORK_DIR=`mktemp -d -p "$DIR"`
@ -18,12 +19,12 @@ trap cleanup EXIT
echo ""
echo "============================================================================================================================"
echo "Updating documentation from: https://gitlab.freedesktop.org/$NAMESPACE/gst-docs/-/jobs/artifacts/$BRANCH/download?job=deploy"
echo "Updating documentation from: https://gitlab.freedesktop.org/$NAMESPACE/gst-docs/-/jobs/artifacts/$BRANCH/download?job=$JOB"
date
cd $WORK_DIR
wget https://gitlab.freedesktop.org/$NAMESPACE/gst-docs/-/jobs/artifacts/$BRANCH/download?job=deploy -O gstdocs.zip
wget https://gitlab.freedesktop.org/$NAMESPACE/gst-docs/-/jobs/artifacts/$BRANCH/download?job=$JOB -O gstdocs.zip
unzip gstdocs.zip