Giter VIP home page Giter VIP logo

Comments (6)

AmrutaKawade avatar AmrutaKawade commented on August 14, 2024 5

I agree this should be documented. I personally was aware that deployment slots have their own publish profile. What is not clear is what the value of app-name should be when slot-name is specified. Continuing @modev 's example - should app-name be "testapp" or "testapp__staging"??

app-name will be 'testapp' and slot-name will be 'staging'. We will update our documentation for getting publish profile for slots

from webapps-deploy.

elliotchaim avatar elliotchaim commented on August 14, 2024 2

I agree this should be documented. I personally was aware that deployment slots have their own publish profile. What is not clear is what the value of app-name should be when slot-name is specified. Continuing @modev 's example - should app-name be "testapp" or "testapp__staging"??

from webapps-deploy.

drewid avatar drewid commented on August 14, 2024 2

This still is not described anywhere that I can find - what is supposed to be for app name and slot name for github actions.

from webapps-deploy.

modev avatar modev commented on August 14, 2024 1

It seems like I found the issue myself.

When creating a new slot such as staging for an App Service, the slot is displayed as a separate App Service (e.g. Testapp/staging) inside the App Service Plan. The original App Service "Testapp" only contains the publishing profile for the production slot. To be able to publish from the GH Actions so the staging slot, you have to generate the publishing profile for the separate App Service "Testapp/Staging".
This new publishing profile then also contains the user credentials for user "testapp__staging" that pass the validation of the action.

Since there is no documentation for the slot name property and the necessary changes you'd have to make from the original quickstart, I would suggest documenting these features to avoid further confusion.

from webapps-deploy.

Piedone avatar Piedone commented on August 14, 2024 1

app-name: What you see at the top of the blade on the Azure Portal. Can contain uppercase letters too.
slot-name: Also what you see at the top of the blade when you open the slot, before the app name in parenthesis.

E.g. if you created "My App" with the URL "my-app.azurewebsites.net", and a slot called Staging, then:

  • app-name will be "My App".
  • When you open the staging slot in the Azure Portal, you'll see something like "Staging (my-app/Staging)" at the top. slot-name will be "Staging".

from webapps-deploy.

elliotchaim avatar elliotchaim commented on August 14, 2024

Sounds great, thanks!

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.