Webhooks and Ci/CD
Go to Application > Webhooks tab to see github CI/CD controls. Here Follow the below insturctions.
- Fill out the form with the github repo url(this url must end with .git)
- Select Branch
- Select TimeZone
- Copy and Paste your personal access token
- Add or subtract commands from the command list below. (If hosting static files no commands necessary)
Press the download, build and run button and it will be added and LxRoot will pull and update the files. you can check the changes in FileMan
If you have a private repository, make sure to generate a personal access token with the appropriate permissions and use it in the form. This will allow LxRoot to access your repository and perform the necessary actions for CI/CD. Go to settings > Developer settings > Personal Access Tokens to generate a new token. Make sure to copy the token and use it in the form, as you won't be able to see it again.
select classic token instead of fine-grained token