Connecting the LAMP app with Git
-
Hello @privsec
This could be done in multiple ways.
You get set a simple cron for your lamp app that just pulls every 5 minutes.
But this is not reactive to updates to your master branch. It just pulls every 5 minutes.
A more complex approach would be to set up a GitHub action that pushes the changes to the LAMP app with the cloudron cli.
-
HeyO

Now there is this GitHub Repository: https://github.com/cloudron-io/cloudron-push-to-app which publishes this action to the GitHub Marketplace https://github.com/marketplace/actions/cloudron-push-to-app
The README should explain how to use it.
Still, this can be confusing for people who never used GitHub actions.I have created a demo repo https://github.com/BrutalBirdie/github-action-test-repo and added the workflow according to my README.
Added an Environment:

and the secrets:

Now if I update the
README.md, add a simpleindex.htmlandindex.cssit will be deployed to https://default-lamp.cloudron.dev/ when accessing https://default-lamp.cloudron.dev you should see some neon 404 page and you can access theREADME.mdhttps://default-lamp.cloudron.dev/README.mdAnd in the action view you can see the executed action and logs https://github.com/BrutalBirdie/github-action-test-repo/actions/runs/19704245518/job/56447718391