cernelio/Deploy SvelteKit Static Sites

Builds a SvelteKit static site and deploys it via SSH (rsync) or FTP.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jun 4, 2025
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: cernelio/sveltekit-deploy-static@da914d22cc6d63eba99891ce9842655b705dbcd6 # v0.0.9

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
node-versionVersion of Node.js to use for build.nolts/*
deploy-modeDeployment mode: 'ssh' or 'ftp'.yes
build-scriptCustom command to build the project. Defaults to 'npm run build'.no""
build-dirWhere the built output liesno""
protectContents of the htpasswd fileno""
environmentEnvironment variables content to write to /env/.env fileno""
server-ssh-hostHostname or IP address of the deployment server.no
server-ssh-userUsername for connecting to the deployment server.no
server-ssh-keyPrivate SSH key for connecting to the server (if deploy-mode is 'ssh').no
server-ssh-known-hostsKnown hosts entry for the server (e.g., 'github.com ssh-rsa AAAA...').no
server-ssh-pathRemote path on the server where files will be deployed.no
server-ftp-hostHostname or IP address of the deployment server.no
server-ftp-userUsername for connecting to the deployment server.no
server-ftp-passwordPassword for FTP connection (if deploy-mode is 'ftp').no
server-ftp-dry-runPerform a dry run for FTP deployment (does not upload files).nofalse
server-ftp-pathRemote path on the server where files will be deployed.no

no outputs