How to build github files?

The sync with GitHub only applies to decompiled files. I’ve tried several ways to create a Dockerfile and Docker Compose file for them, but to no avail. Once compiled, it’s fine, but I can’t upload them to GitHub directly from the compiled website.

This way, I have to do a somewhat laborious job of downloading the files, adding a Dockerfile and Docker Compose file to them, and uploading them to my Git file to be able to upload them to my server.

Before, when we had the weweb server installed, it was simpler.

Any tips on how to improve this workflow?

Hi. The truth is there is NO simple answer to your problem. You need an entire pipeline built out to be able to connect built files to your Github.

I will tell you what I did. Since you seem to be a technical user you can use it too. You just need 3 things

A. A file sync utility (syncthing is a good one)

B. A workflow automation platform (I use Pipedream - it’s for devs but N8N will work too)

C. And of course weweb

It is quite simple. You setup the file sync utility to connect a folder on your local PC to a folder on your cloud VM. Now you setup an automation that watches for new folders in that VM folder and copies it from your cloud VM’s folder, unzips it and pushes it to Github repo.

So the workflow will be simple. You build on weweb, download to that local folder on your PC, your file sync utility will automatically send it to your cloud and your automation will automatically push it to your Github. So all you will ever have to do is click deploy on weweb and download the files the rest is automated. That’s how I do it and I have 2 production apps that I have to serve to my customer via docker. You can put this description in any AI LLM so they can perhaps explain better to you cos my explanation may not be clear enough. But this plan will definitely work for you.

1 Like

oh thanks, i will do