Comments (6)
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 whenslot-name
is specified. Continuing @modev 's example - shouldapp-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.
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.
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.
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.
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.
Sounds great, thanks!
from webapps-deploy.
Related Issues (20)
- Problems releasing after upgrade to v3 HOT 4
- v3 faield to reboot webapp due to 401, but v2 is OK HOT 7
- Git Python Causes problems while creating directories HOT 2
- Allow to overwrite GitHub comment instead of creating a new one HOT 1
- Successful deployment reported despite error HOT 2
- Code is not updated in linux based Azure Functions using ZIP package deploy HOT 1
- v3 deployment does not work with clean:false HOT 13
- Not able to apply npm install flags HOT 1
- README doesn't have a v3 example or explanation of the differences HOT 4
- Add sample(s) for OIDC HOT 1
- Azure Web App deployment from .zip fails after successfully deploying the content HOT 2
- V3 using node.js 16 upgrade to node.js 20 seeing 16 is deprecated HOT 16
- Deploy to web app does not working for .NET 8 and Linux based deployment - azure/webapps-deploy@v3 HOT 4
- Microsoft Azure Build and deploy PHP app to Azure Web App: Laravel App - Unable to create lockable file HOT 2
- Deployment Faile***, Error: Resource azwb********-tot doesn't exist. HOT 5
- The new option Clean should have defaulted to false or been highlighted as a breaking change HOT 4
- Azure Web Application not updated, action still claims "Success" HOT 9
- Can't deploy to ACA-based Function App
- Cann't show submit messages, ONLY show OneDeploy
- Parameter ''using: node20' is not supported, use 'docker', 'node12' or 'node16' instead.'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webapps-deploy.