You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/deploy-github-actions.md
+28-15Lines changed: 28 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,12 +234,13 @@ The following examples show the part of the workflow that builds the web app, in
234
234
235
235
## Frequently Asked Questions
236
236
237
-
- [How do I deploy a WAR file through Maven plugin and OpenID Connect](#how-do-i-deploy-a-war-file-through-maven-plugin-and-openid-connect)
238
-
- [How do I deploy a WAR file through Az CLI and OpenID Connect](#how-do-i-deploy-a-war-file-through-az-cli-and-openid-connect)
239
-
- [How do I deploy to a Container](#how-do-i-deploy-to-a-container)
240
-
- [How do I update the Tomcat configuration after deployment](#how-do-i-update-the-tomcat-configuration-after-deployment)
237
+
- [How do I deploy a WAR file through Maven plugin?](#how-do-i-deploy-a-war-file-through-maven-plugin)
238
+
- [How do I deploy a WAR file through Az CLI?](#how-do-i-deploy-a-war-file-through-az-cli)
239
+
- [How do I deploy a startup file?](#how-do-i-deploy-a-startup-file)
240
+
- [How do I deploy to a Container?](#how-do-i-deploy-to-a-container)
241
+
- [How do I update the Tomcat configuration after deployment?](#how-do-i-update-the-tomcat-configuration-after-deployment)
241
242
242
-
### How do I deploy a WAR file through Maven plugin and OpenID Connect
243
+
### How do I deploy a WAR file through Maven plugin?
243
244
244
245
In case you configured your Java Tomcat project with the [Maven plugin](https://github.com/microsoft/azure-maven-plugins), you can also deploy to Azure App Service through this plugin. If you use the [Azure CLI GitHub action](https://github.com/Azure/cli) it will make use of your Azure login credentials.
245
246
@@ -254,26 +255,38 @@ In case you configured your Java Tomcat project with the [Maven plugin](https://
254
255
More information on the Maven plugin and how to use and configure it can be found in the [Maven plugin wiki for Azure App Service](https://github.com/microsoft/azure-maven-plugins/wiki/Azure-Web-App).
255
256
256
257
257
-
### How do I deploy a WAR file through Az CLI and OpenID Connect
258
+
### How do I deploy a WAR file through Az CLI?
258
259
259
-
If you use prefer the Azure CLI to deploy to App Service, you can use the GitHub Action for CLI.
260
+
If you use prefer the Azure CLI to deploy to App Service, you can use the GitHub Action for Azure CLI.
260
261
261
262
```yaml
262
-
- name: Azure CLI script
263
-
uses: azure/cli@v2
264
-
with:
265
-
inlineScript: |
266
-
az webapp deploy --src-path '${{ github.workspace }}/target/yourpackage.war' --name ${{ env.AZURE_WEBAPP_NAME }} --resource-group ${{ env.RESOURCE_GROUP }} --async true --type war
263
+
- name: Azure CLI script
264
+
uses: azure/cli@v2
265
+
with:
266
+
inlineScript: |
267
+
az webapp deploy --src-path '${{ github.workspace }}/target/yourpackage.war' --name ${{ env.AZURE_WEBAPP_NAME }} --resource-group ${{ env.RESOURCE_GROUP }} --async true --type war
267
268
```
268
269
269
270
More information on the GitHub Action for CLI and how to use and configure it can be found in the [Azure CLI GitHub action](https://github.com/Azure/cli).
270
-
More information on the az webapp deploy command, how to use and the parameter details can be found in the [az webapp deploy documentation](/cli/azure/webapp?view=azure-cli-latest#az-webapp-deploy).
271
+
More information on the az webapp deploy command, how to use and the parameter details can be found in the [az webapp deploy documentation](/cli/azure/webapp#az-webapp-deploy).
With the Azure Web Deploy action, you can automate your workflow to deploy custom containers to App Service using GitHub Actions. Detailed information on the steps to deploy using GitHub Actions, can be found in the [Deploy to a Container](/azure/app-service/deploy-container-github-action).
275
288
276
-
### How do I update the Tomcat configuration after deployment
289
+
### How do I update the Tomcat configuration after deployment?
277
290
278
291
In case you would like to update any of your web apps settings after deployment, you can use the [App Service Settings](https://github.com/Azure/appservice-settings) action.
0 commit comments