Skip to content

Commit 76c46e6

Browse files
authored
Merge pull request #343 from w-ahmad/chore/static-app-update
chore: Update Azure Static Web App workflow configuration
2 parents 6ad6f6d + cad7717 commit 76c46e6

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

.github/workflows/azure-static-web-app.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,12 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
types: [opened, synchronize, reopened, closed]
9-
branches:
10-
- main
117

128
jobs:
139
build_and_deploy_job:
1410
env:
1511
DIST_PATH: samples/WinUI.TableView.SampleApp.Uno/bin/Release/net10.0-browserwasm/publish/wwwroot
1612
DotnetVersion: '10.0.100'
17-
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
1813
runs-on: ubuntu-latest
1914
container: 'unoplatform/wasm-build:3.0'
2015
name: Build and Deploy Job
@@ -107,17 +102,3 @@ jobs:
107102
api_location: "" # Api source code path - optional
108103
output_location: "" # Built app content directory - optional
109104
###### End of Repository/Build Configurations ######
110-
111-
close_pull_request_job:
112-
if: github.event_name == 'pull_request' && github.event.action == 'closed'
113-
runs-on: ubuntu-latest
114-
name: Close Pull Request Job
115-
steps:
116-
- name: Close Pull Request
117-
id: closepullrequest
118-
uses: Azure/static-web-apps-deploy@v1
119-
with:
120-
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LIVELY_GROUND_0D0F6A810 }}
121-
action: "close"
122-
123-

0 commit comments

Comments
 (0)