In June I got a new XPS13 (without the touchbar), preloaded with linux. Upon arrival, the camera and fingerprint reader did not work. The battery lasted about 2 hours and the screen literally fell out. After 2 days of frustrating tech support calls, they finally agreed to ship me a replacement.
1 month later, no replacement arrived. Many calls to support yielded no answers. I finally got them to refund my order and cancel the replacement.
A very bad experience for me and I will never buy a Dell again.
I've done a project with the same stack, and our approach ended up being almost exactly the same (I used mod for go dependencies and yarn for vue). One thing I don't really like about it is having the compiled front end site checked in as public in the repo.
I was hoping to find a way for heroku to detect the subproject in the client directory, build it and deploy it as part of the heroku push. I've tried numerous approaches, and all failed for one reason or another. Did you experience the same? Does anyone else have suggestions as to how to make something like that work?
as that is pretty much my day job, i'll chime in with my 2 cents.
building on the deploying server is, of course, an option. It should however be avoided, as you can never be 100% certain that everything is exactly as the code you originally tested against.
that is why software repositories exists... and why github created a releases api [0]. and there are readily available scripts to use this as well [1] (i'm not affiliated in any way, just found that from a quick google). but you'll probably find something for your build tool of choice as well. that is often more stable
but to answer your initial question: yes, that should be possible as well. if everything else fails, you're always able to replace the normal binary start with a shell script which does everything you want and finally start the server process. That is admittedly a hack and another solution is probably preferable, but it's a fallback that always works.
1 month later, no replacement arrived. Many calls to support yielded no answers. I finally got them to refund my order and cancel the replacement.
A very bad experience for me and I will never buy a Dell again.