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