deploy-linode.sh 724 B

123456789101112
  1. #!/bin/sh
  2. # Deploys the site using s3cmd.
  3. # Make sure 'website/public/' has been purged then updated using 'docs/build-docs.sh'
  4. # before running this script.
  5. # If you don't purge 'website/public/', you may get unexpected results.
  6. # To display information about the website configuration on Linode run:
  7. # ```s3cmd ws-info s3://blocktree```
  8. # If you need to setup s3cmd checkout the documentation on Linode's website:
  9. # https://www.linode.com/docs/products/storage/object-storage/guides/s3cmd/
  10. # The guide for deploying a Hugo site is also useful:
  11. # https://www.linode.com/docs/guides/host-static-site-object-storage/
  12. s3cmd --no-mime-magic --acl-public --delete-removed --delete-after sync public/ s3://www.blocktree.systems