Skip to content

Instantly share code, notes, and snippets.

@svschannak
Created January 16, 2019 09:06
Show Gist options
  • Save svschannak/c2eb2d921719a9de9660f26aca2f60e1 to your computer and use it in GitHub Desktop.
Save svschannak/c2eb2d921719a9de9660f26aca2f60e1 to your computer and use it in GitHub Desktop.
Dokku & netlify subdirectory deployment
git subtree push --prefix backend subdomain master
(cd frontend && exec yarn run build)
(cd frontend && exec netlify deploy --dir=./build --prod)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment