mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
build.sh: add date's and message for stackage-server-cron.sh
This commit is contained in:
parent
5921640488
commit
cb64515b11
@ -2,6 +2,8 @@
|
||||
|
||||
set -eux
|
||||
|
||||
date
|
||||
|
||||
ROOT=$(cd $(dirname $0) ; pwd)
|
||||
TARGET=$1
|
||||
|
||||
@ -123,5 +125,9 @@ docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "stackage-curator check-target-avail
|
||||
# * 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:
|
||||
date
|
||||
|
||||
# moved here from crontab to reduce memory competition
|
||||
echo -n Running "stackage-server-cron.sh: "
|
||||
/home/ubuntu/stackage-server-cron.sh | tee /home/ubuntu/stackage-server-cron.log
|
||||
echo "done."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user