Skip to content

Commit 63a9856

Browse files
committed
update
1 parent 9507992 commit 63a9856

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

.github/workflows/azure-static-web-apps-ambitious-pond-0fe43071e.yml

-18
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111

1212
jobs:
1313
build_and_deploy_job:
14-
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
1514
runs-on: ubuntu-latest
1615
name: Build and Deploy Job
1716
steps:
@@ -32,23 +31,6 @@ jobs:
3231
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_POND_0FE43071E }}
3332
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
3433
action: "upload"
35-
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
36-
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
3734
app_location: "/" # App source code path
3835
output_location: "dist"
3936
skip_app_build: true
40-
# api_location: "" # Api source code path - optional
41-
# output_location: "build" # Built app content directory - optional
42-
###### End of Repository/Build Configurations ######
43-
44-
close_pull_request_job:
45-
if: github.event_name == 'pull_request' && github.event.action == 'closed'
46-
runs-on: ubuntu-latest
47-
name: Close Pull Request Job
48-
steps:
49-
- name: Close Pull Request
50-
id: closepullrequest
51-
uses: Azure/static-web-apps-deploy@v1
52-
with:
53-
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_POND_0FE43071E }}
54-
action: "close"

0 commit comments

Comments
 (0)