Giter VIP home page Giter VIP logo

Comments (8)

issue-label-bot avatar issue-label-bot commented on August 14, 2024

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.93. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from webapps-deploy.

aksm-ms avatar aksm-ms commented on August 14, 2024

@jjindrich Can you please provide more description of the issue?
Also are you facing any issue with webapps/deploy@v2 action? If so, please share workflow used along with detailed logs.

from webapps-deploy.

jjindrich avatar jjindrich commented on August 14, 2024

Action webapps/deploy@v2 not allows deployment to Azure Web App with PHP runtime. Check this https://docs.microsoft.com/en-us/azure/app-service/quickstart-php?pivots=platform-linux

from webapps-deploy.

aksm-ms avatar aksm-ms commented on August 14, 2024

@jjindrich I am able to deploy to PHP app using azure/webapps-deploy@v2. I have updated documentation with a sample workflow for PHP. @N-Usha Please review the documentation PR.

from webapps-deploy.

aksm-ms avatar aksm-ms commented on August 14, 2024

@jjindrich Please let me know if you are facing any other issues.

from webapps-deploy.

jjindrich avatar jjindrich commented on August 14, 2024

Hi, thanks for update @aksm-ms. I tried to use. I updated yml and created new secret AZURE_WEBAPP_PUBLISH_PROFILE. I copied content of Get publish profile from Web App blade (following https://github.com/Azure/actions-workflow-samples/blob/master/assets/create-secrets-for-GitHub-workflows.md#set-secret-with-web-app-publish_profile).

But getting this errors:
Error: Failed to fetch credentials from Publish Profile. For more details on how to set publish profile credentials refer https://aka.ms/create-secrets-for-GitHub-workflows
Error: Deployment Failed with Error: Error: Publish profile does not contain kudu URL

It seems that workflow cannot see secret I created. My workflow https://github.com/jjindrich/jjazure-web-php/blob/master/.github/workflows/jjwebphpsymphony-cicd.yml

from webapps-deploy.

aksm-ms avatar aksm-ms commented on August 14, 2024

@jjindrich While using publish profile credentials for app services created on linux, please follow the following steps:

  1. configure an application setting "WEBSITE_WEBDEPLOY_USE_SCM" and set it to true.
  2. After setting the value, download publish profile from portal.
  3. Use the same in your workflow.

Please refer this https://github.com/azure/webapps-deploy#configure-deployment-credentials

from webapps-deploy.

jjindrich avatar jjindrich commented on August 14, 2024

I can confirm, it works. Thanks for help.

from webapps-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.