cernelio/Deploy SvelteKit Static Sites
Builds a SvelteKit static site and deploys it via SSH (rsync) or FTP.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jun 4, 2025
- License
- Apache 2.0
Pinned Snippet
uses: cernelio/sveltekit-deploy-static@da914d22cc6d63eba99891ce9842655b705dbcd6 # v0.0.9tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| node-version | Version of Node.js to use for build. | no | lts/* |
| deploy-mode | Deployment mode: 'ssh' or 'ftp'. | yes | — |
| build-script | Custom command to build the project. Defaults to 'npm run build'. | no | "" |
| build-dir | Where the built output lies | no | "" |
| protect | Contents of the htpasswd file | no | "" |
| environment | Environment variables content to write to /env/.env file | no | "" |
| server-ssh-host | Hostname or IP address of the deployment server. | no | — |
| server-ssh-user | Username for connecting to the deployment server. | no | — |
| server-ssh-key | Private SSH key for connecting to the server (if deploy-mode is 'ssh'). | no | — |
| server-ssh-known-hosts | Known hosts entry for the server (e.g., 'github.com ssh-rsa AAAA...'). | no | — |
| server-ssh-path | Remote path on the server where files will be deployed. | no | — |
| server-ftp-host | Hostname or IP address of the deployment server. | no | — |
| server-ftp-user | Username for connecting to the deployment server. | no | — |
| server-ftp-password | Password for FTP connection (if deploy-mode is 'ftp'). | no | — |
| server-ftp-dry-run | Perform a dry run for FTP deployment (does not upload files). | no | false |
| server-ftp-path | Remote path on the server where files will be deployed. | no | — |
Outputs
no outputs