We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933a08a commit 5c31b0bCopy full SHA for 5c31b0b
.github/workflows/azure-static-web-apps-polite-cliff-0173aa90f.yml
@@ -23,6 +23,17 @@ jobs:
23
with:
24
submodules: true
25
lfs: false
26
+ - name: Delete old deploy comments
27
+ run: |
28
+ gh api repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments `
29
+ | ConvertFrom-Json `
30
+ | Where-Object body -like 'Azure Static Web Apps: Your stage site is ready! Visit it here: *' `
31
+ | ForEach-Object {
32
+ gh api repos/${{ github.repository }}/issues/comments/$($_.id) -X DELETE
33
+ }
34
+ shell: pwsh
35
+ env:
36
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
- name: Build and deploy to Azure static web apps
38
id: builddeploy
39
uses: Azure/static-web-apps-deploy@v1
0 commit comments