Commit 63a9856 1 parent 9507992 commit 63a9856 Copy full SHA for 63a9856
File tree 1 file changed +0
-18
lines changed
1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
build_and_deploy_job :
14
- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
15
14
runs-on : ubuntu-latest
16
15
name : Build and Deploy Job
17
16
steps :
32
31
azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_POND_0FE43071E }}
33
32
repo_token : ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
34
33
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
37
34
app_location : " /" # App source code path
38
35
output_location : " dist"
39
36
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"
You can’t perform that action at this time.
0 commit comments