Skip to content

Commit 67419c6

Browse files
authored
Merge pull request #112328 from JasonFreeberg/patch-54
Update action version
2 parents 66d74ec + 3a93e0b commit 67419c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/app-service/deploy-github-actions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You could also use app-level credentials i.e. publish profile for deployment. Fo
5858
4. Now in the workflow file in your branch: `.github/workflows/workflow.yml` replace the secret for the input `publish-profile` of the deploy Azure Web App action.
5959

6060
```yaml
61-
- uses: azure/webapps-deploy@v1
61+
- uses: azure/webapps-deploy@v2
6262
with:
6363
creds: ${{ secrets.azureWebAppPublishProfile }}
6464
```
@@ -178,7 +178,7 @@ The following examples show the part of the workflow that builds the web app, in
178178
```
179179
## Deploy to App Service
180180

181-
To deploy your code to an App Service app, use the `azure/webapps-deploy@v1 ` action. This action has four parameters:
181+
To deploy your code to an App Service app, use the `azure/webapps-deploy@v2` action. This action has four parameters:
182182

183183
| **Parameter** | **Explanation** |
184184
|---------|---------|
@@ -215,7 +215,7 @@ jobs:
215215
npm run test --if-present
216216
217217
- name: 'Run Azure webapp deploy action using publish profile credentials'
218-
uses: azure/webapps-deploy@v1
218+
uses: azure/webapps-deploy@v2
219219
with:
220220
app-name: node-rn
221221
publish-profile: ${{ secrets.azureWebAppPublishProfile }}
@@ -254,7 +254,7 @@ jobs:
254254
npm run test --if-present
255255
256256
# deploy web app using Azure credentials
257-
- uses: azure/webapps-deploy@v1
257+
- uses: azure/webapps-deploy@v2
258258
with:
259259
app-name: 'node-rn'
260260

0 commit comments

Comments
 (0)