Deploy

sveltin deploy

Deploy your website over FTP.

Synopsis

Command used to deploy the project on your hosting platform over FTP.

It makes use of the .env.production file to reflect the base url for your website.

Run sveltin build first.

sveltin deploy [flags]

Aliases

publish

Options

  -b, --backup                   create a tar archive for the existing content on the remote FTP server (default true)
  -d, --dryRun                   dry run
  -e, --exclude stringArray      list of files to not be deleted from the FTP server. Default: .htaccess (default [.htaccess])
  -h, --help                     help for deploy
      --withExcludeFile string   path to the file containing the list of files to not be deleted from the FTP server.

SEE ALSO

  • sveltin - sveltin is the main command to work with SvelteKit powered static websites.

Last updated: 06-Sep-2022

Apache 2.0 License @ 2021-present Sveltin.io and contributors .

The Sveltin logos are copyright © Mirco Veltri 2021.