Test DroneCI pushing to Dokku https://dokku-ci-deploy.dev1.fnukhosting.net/
Go to file
Dovi Cowan 8aa9f2505d
All checks were successful
continuous-integration/drone/push Build is passing
add github note to README
2023-02-21 12:29:07 +00:00
.vscode new svelte project 2023-02-21 00:06:02 +00:00
public new svelte project 2023-02-21 00:06:02 +00:00
src new svelte project 2023-02-21 00:06:02 +00:00
.buildpacks dokku deployment 2023-02-21 00:07:19 +00:00
.drone.yml SSL 2023-02-21 03:30:28 +00:00
.gitignore new svelte project 2023-02-21 00:06:02 +00:00
.static dokku deployment 2023-02-21 00:07:19 +00:00
index.html new svelte project 2023-02-21 00:06:02 +00:00
jsconfig.json new svelte project 2023-02-21 00:06:02 +00:00
package-lock.json new svelte project 2023-02-21 00:06:02 +00:00
package.json new svelte project 2023-02-21 00:06:02 +00:00
README.md add github note to README 2023-02-21 12:29:07 +00:00
vite.config.js new svelte project 2023-02-21 00:06:02 +00:00

Deploy a Svelte app on Dokku with DroneCI

Build Status

This repository is a test for deploying a Svelte app on Dokku with DroneCI.

This is a simple Svelte+Vite template app (created with npm init vite). The only files that have been changed are:

  • README.md
  • .drone.yml
  • .static

The pipeline connects to a self-hosted Dokku server over ssh via a local jump host. It configures the new app via the dokku CLI tool, deploys the app to Dokku via git, then requests a LetsEncrypt SSL certificate for the site.

The same pipeline should work with no modification for any static site generator which uses npm build to build the site. Dokku will look for the compiled site in dist/.

GitHub

Note - GitHub is just a mirror for this repository. The main repository is at https://git.fnukhosting.net/dcowan/dokku_test_deploy