Skip to content

Commit

Permalink
Politely remind Azure not to destroy everything when deploying
Browse files Browse the repository at this point in the history
Azure changed their default deployment procedures to delete everything on each deployment, causing complete data loss.

See: Azure/webapps-deploy#401
  • Loading branch information
dougwaldron authored Mar 4, 2024
1 parent 87d126e commit fce52a6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/azure-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ jobs:
slot-name: "Production"
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_C1896F072C044B3385AFFE24FD9DA74E }}
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
clean: false

This comment has been minimized.

Copy link
@rvvincelli

rvvincelli Apr 5, 2024

+1

13 changes: 13 additions & 0 deletions PodcastRewind/Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@
@{
ViewData["Title"] = Constants.Logo;
}

<div class="alert alert-danger d-flex align-items-center" role="alert">
<svg xmlns="http://www.w3.org/2000/svg" class="bi bi-exclamation-triangle-fill flex-shrink-0 me-2" viewBox="0 0 16 16" role="img" aria-label="Warning:">
<path d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"/>
</svg>
<div>
Unfortunately, Azure Websites silently introduced a change recently that caused all existing
Podcast Rewind feeds to be deleted. Sadly, any feeds you created prior to March 2, 2024 will
need to be recreated from scratch. <em>(Trust me, I'm as angry about this as you are! — Doug)</em>
</div>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>

<h1>
<span class="pr-logo">@Constants.Logo</span>
</h1>
Expand Down

0 comments on commit fce52a6

Please sign in to comment.