build.sh: run stackage-server-cron.sh at end, instead of cronjob

avoid build.sh and stackage-server-cron.sh competing for memory
This commit is contained in:
Jens Petersen 2016-05-20 17:50:12 +09:00
parent 1959b95242
commit 5921640488

View File

@ -122,3 +122,6 @@ docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "stackage-curator check-target-avail
# * Upload the new plan .yaml file to the appropriate Github repo
# * Register as a new Hackage distro
docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "stackage-curator upload-docs --target $TARGET --bundle-file $BUNDLE_FILE && stackage-curator upload-index --plan-file $PLAN_FILE --target $TARGET && stackage-curator upload-github --plan-file $PLAN_FILE --docmap-file $DOCMAP_FILE --target $TARGET && stackage-curator hackage-distro --plan-file $PLAN_FILE --target $TARGET"
echo Running stackage-server-cron.sh:
/home/ubuntu/stackage-server-cron.sh | tee /home/ubuntu/stackage-server-cron.log