|
|
|
@ -3,7 +3,11 @@ name: Azure Static Web Apps CI/CD
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
branches:
|
|
|
|
|
- main
|
|
|
|
|
- quiz-app-fix
|
|
|
|
|
pull_request:
|
|
|
|
|
types: [opened, synchronize, reopened, closed]
|
|
|
|
|
branches:
|
|
|
|
|
- quiz-app-fix
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build_and_deploy_job:
|
|
|
|
@ -18,7 +22,7 @@ jobs:
|
|
|
|
|
id: builddeploy
|
|
|
|
|
uses: Azure/static-web-apps-deploy@v1
|
|
|
|
|
with:
|
|
|
|
|
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_WATER_09EC41F0F }}
|
|
|
|
|
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GENTLE_HILL_034DEFD0F }}
|
|
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
|
|
|
|
|
action: "upload"
|
|
|
|
|
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
|
|
|
|
@ -37,5 +41,5 @@ jobs:
|
|
|
|
|
id: closepullrequest
|
|
|
|
|
uses: Azure/static-web-apps-deploy@v1
|
|
|
|
|
with:
|
|
|
|
|
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_WATER_09EC41F0F }}
|
|
|
|
|
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GENTLE_HILL_034DEFD0F }}
|
|
|
|
|
action: "close"
|
|
|
|
|