Skip to content

Commit a6fee88

Browse files
Bump azure/webapps-deploy from 2 to 3 (microsoft#509)
Bumps [azure/webapps-deploy](https://github.com/azure/webapps-deploy) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/azure/webapps-deploy/releases">azure/webapps-deploy's releases</a>.</em></p> <blockquote> <h2>Release version 3.0.0 🎉</h2> <h1>Release v3</h1> <p>Moving from the older <strong>Zip Deploy API</strong> to <strong>Kudu Publish API</strong> for deploying your webapp via Github action <code>webapps-deploy</code>.</p> <h3>Reason for migration</h3> <p>The reason for this change is the Publish API <code>/api/publish/</code> has many more features over the older <code>/zipdeploy/</code> API and it is also currently used in the Azure CLI, plugins for Maven and Gradle, it would be consistent with other deployment providers.</p> <h3>What it means for the existing users</h3> <ul> <li>Users who are currently using the <code>webapps-deploy@v2</code> can still use the same action without any change in the workflow file.</li> <li>Users who want to shift to the new workflow can use the <code>webapps-deploy@v3</code> to use the new Publish API features.</li> </ul> <h2>Features</h2> <ul> <li>New workflow parameter <code>type</code> - The type of the artifact being deployed, this sets the default target path and informs the web app how the deployment should be handled. <ul> <li>Allowed values: JAR, WAR, EAR, ZIP, Static</li> <li>Ex: <code>- type=war: Deploy a WAR package. By default, the WAR package is deployed to /home/site/wwwroot/app.war. The target path can be specified with parameter target-path.</code></li> </ul> </li> <li>New workflow parameter <code>target-path</code> - The absolute path to deploy the artifact to. <ul> <li>Allowed value: {string}</li> <li>Ex: <code>/home/site/wwwroot</code></li> </ul> </li> <li>New workflow parameter <code>clean</code> - Specifies whether to clean (delete) the target deployment before deploying the artifact there. <ul> <li>Allowed values: <code>true/false</code></li> <li>Ex: <code>clean=true</code></li> </ul> </li> <li>New workflow parameter <code>restart</code> - By default, the API restarts the app following the deployment operation (restart=true). To deploy multiple artifacts, prevent restarts on all but the final deployment by setting restart=false. <ul> <li>Allowed values: <code>true/false</code></li> <li>Ex: <code>restart=true</code></li> </ul> </li> </ul> <h3>Example</h3> <pre><code>- name: Deploy to Azure Web App id: deploy-to-webapp uses: azure/webapps-deploy@v3 with: app-name: ${{ env.AZURE_WEBAPP_NAME }} publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} package: '*.war' type: (jar, war, zip, static) clean: (true, false) target-path: (i.e. /home/site/wwwroot/test, /home/site/wwwroot/test.war) restart: (true, false) </code></pre> <h2>What's Changed</h2> <ul> <li>Migrate webapps-deploy to OneDeploy by <a href="https://github.com/dannysongg"><code>@​dannysongg</code></a> in <a href="https://github.com/Azure/webapps-deploy/pull/360">Azure/webapps-deploy#360</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/dannysongg"><code>@​dannysongg</code></a> made their first contribution in <a href="https://github.com/Azure/webapps-deploy/pull/360">Azure/webapps-deploy#360</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/Azure/webapps-deploy/compare/v2.2.11...v3.0.0">https://github.com/Azure/webapps-deploy/compare/v2.2.11...v3.0.0</a></p> <h2>v2.2.11</h2> <h2>What's Changed</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Azure/webapps-deploy/commit/145a0687697df1d8a28909569f6e5d86213041f9"><code>145a068</code></a> update node_modules</li> <li><a href="https://github.com/Azure/webapps-deploy/commit/3dc06f70d3f851dfc05ee0f2bf4104e8d01a6f04"><code>3dc06f7</code></a> Merge pull request <a href="https://github.com/azure/webapps-deploy/issues/360">#360</a> from dannysongg/enable-onedeploy</li> <li><a href="https://github.com/Azure/webapps-deploy/commit/d3a151fe8887209b945e4e573eecf47c21177c0a"><code>d3a151f</code></a> Bump azure-actions-appservice-rest to 1.3.13</li> <li><a href="https://github.com/Azure/webapps-deploy/commit/5ac111638780f49d713e4a271659a52eae71e1b8"><code>5ac1116</code></a> Bump version to 3.0.0</li> <li><a href="https://github.com/Azure/webapps-deploy/commit/c26b53acbab7fa86c7463db707c320e7417d4543"><code>c26b53a</code></a> Resolving nits</li> <li><a href="https://github.com/Azure/webapps-deploy/commit/403feab604865b6798f958b1fbe659ecd508af02"><code>403feab</code></a> Refactor logic for determining deployment type</li> <li><a href="https://github.com/Azure/webapps-deploy/commit/0f57d779d1f0fa7ebc2d38d803df2b514058c739"><code>0f57d77</code></a> Migrate deployments to OneDeploy</li> <li><a href="https://github.com/Azure/webapps-deploy/commit/c577592d2e0c7ac9869842563c4ec5e5cb253eff"><code>c577592</code></a> testing</li> <li><a href="https://github.com/Azure/webapps-deploy/commit/ce0410a153fecc4b2ce230db7c30e943d51a1a19"><code>ce0410a</code></a> Merge pull request <a href="https://github.com/azure/webapps-deploy/issues/290">#290</a> from Azure/surenderssm-patch-1</li> <li><a href="https://github.com/Azure/webapps-deploy/commit/73e966786c526693bc83b00d62e6439059d10748"><code>73e9667</code></a> Correcting the typo in go.yml</li> <li>Additional commits viewable in <a href="https://github.com/azure/webapps-deploy/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=azure/webapps-deploy&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent dd53dcc commit a6fee88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/copilot-deploy-memorypipeline.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
az webapp config appsettings set --resource-group ${{vars.CC_DEPLOYMENT_GROUP_NAME}} --name ${{ env.AZURE_WEBAPP_NAME }} --settings WEBSITE_RUN_FROM_PACKAGE="1" -o none
7171
7272
- name: "Deploy"
73-
uses: azure/webapps-deploy@v2
73+
uses: azure/webapps-deploy@v3
7474
with:
7575
app-name: ${{ env.AZURE_WEBAPP_NAME }}
7676
package: "${{ github.workspace }}/${{inputs.ARTIFACT_NAME}}/memorypipeline.zip"

0 commit comments

Comments
 (0)