Mirror of github.com/ppy/osu-web, in case ppy decides to take the original down for some reason.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

deploy.sh 269B

12345678910111213141516171819
  1. #!/bin/sh
  2. set -u
  3. set -e
  4. outdir="/deploy/osu-web-$(date "+%Y%m%dT%H%M%S")"
  5. mkdir -p "$outdir"
  6. cp -pr ./ "$outdir"
  7. ln -snf "$outdir" "/deploy/current"
  8. cd "$outdir"
  9. if [ ! "${APP_DEBUG:-false}" = "true" ]
  10. then
  11. php artisan config:cache
  12. php artisan route:cache
  13. fi