Skip to content

Is WEBSITES_ENABLE_APP_CACHE=true compatible GITHUB ACTION DEPLOYMENT ? (Linux app service) #264

@nklido

Description

@nklido

I have setup github actions for deployment of a laravel app in linux app service

image

When the WEBSITES_ENABLE_APP_CACHE is set true, the deployment seems to work as expected

Command: bash deploy.sh

Handling Basic Web Site deployment.

Kudu sync from: '/tmp/zipdeploy/extracted' to: '/home/site/wwwroot'

Ignoring: .deployment
Copying file: '.gitattributes'
Copying file: '.gitignore'
Copying file: '.gitmodules'
Copying file: 'Readme.md'
Copying file: 'artisan'
Copying file: 'composer.json'
Copying file: 'composer.lock'
Ignoring: deploy.sh
...

But then when I go to .scm.azurewebsites.net/webssh/host under home/site/wwwroot
I see only the default hostingstart.html

image

If I disable the WEBSITES_ENABLE_APP_CACHE, then i can see all the project files under home/site/wwwroot

Is there a way to make WEBSITES_ENABLE_APP_CACHE work with github actions or must I use a different option like App Service Build Service.?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions