When trying to connect a private GitHub repo containing a Laravel app to an azure “Web app + postgres” on the php stack I am getting this error:
“The app ‘example’ is setup with stack ‘php’ which is currently not supported in Deployment Center via GitHub Actions.”
However various guides im following seem to not have this problem.
such as this one Deploy Laravel on Azure Web App
Anyone have any pointers as to what could be going on?
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
simple fix: select “App Service Build Service” as the Build provider. It’s hidden in the UI so you need to dig around for it as GitHub Actions is not currently supported.
I also encountered this problem before, so I don’t recommend you to use github for continuous deployment of php projects for the time being.
Solutions and reference documents:
I recommend using localgit to publish your project.
[Official document] Push to Azure from Git
- Hosting a Laravel Application on Azure Web App