deploy.sh 317 B

1234567891011121314
  1. #!/bin/bash
  2. set -euo pipefail
  3. current_branch=$(git rev-parse --abbrev-ref HEAD)
  4. if [[ "$current_branch" != "master" ]]; then
  5. echo "You are currently on the '$current_branch' branch, not 'master'."
  6. exit 1
  7. fi
  8. bash build.sh
  9. rsync --archive --stats --progress --human-readable -r www/ shark.fish:numbat.dev/