3 ms·
I assume this script runs on the server. I was building Go projects on the server as well, a vps where I have several things running. At some point I noticed th
by Gys 3y ago
I assume this script runs on the server. I was building Go projects on the server as well, a vps where I have several things running. At some point I noticed that larger builds severely effected the other websites. So now I build locally and push the binary to git. To not bloat the project repo with big binary blobs I use a special deploy repo.
- prmoustache 3y agoI think the most important part is the last lines: "consider keeping your little things little. it worked for little old me." The rest are details and every one of us would implement the details in a different way. For example a similar script could be portable with non go projects by looking for a simple build-deploy.sh script that take care of each project deployment mode/instructions.