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 229B

12345678
  1. #!/bin/bash
  2. # this should define:
  3. # UNAME, HOST, PORT, DEST_DIR
  4. source .env
  5. hugo && \
  6. rsync --archive -hh --partial --info=stats1 --info=progress2 --modify-window=1 -e "ssh -p ${PORT}" public/ ${UNAME}@${HOST}:${DEST_DIR}