add required option app_location

This commit is contained in:
Jacob Overgaard
2023-05-15 15:52:23 +02:00
parent 3347eb823e
commit 6ea93fd047
2 changed files with 7 additions and 5 deletions

View File

@@ -45,5 +45,6 @@ jobs:
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
app_location: '/'
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_STONE_0033B3603 }}
action: 'close'

View File

@@ -27,12 +27,12 @@ jobs:
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ASHY_BAY_09F36A803 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
action: 'upload'
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: "api" # Api source code path - optional
output_location: "dist" # Built app content directory - optional
app_location: '/' # App source code path
api_location: 'api' # Api source code path - optional
output_location: 'dist' # Built app content directory - optional
###### End of Repository/Build Configurations ######
close_pull_request_job:
@@ -44,5 +44,6 @@ jobs:
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
app_location: '/'
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ASHY_BAY_09F36A803 }}
action: "close"
action: 'close'