Closed dzeyelid closed 3 years ago
Yes they are the same, app_artifact_location == output_location. We realized that app artifact location is slightly confusing so we are starting to change this to output_location.
@craigshoemaker we should probably document this in the docs and once our release is finished we should mark app_artifact_location as deprecated in favor of output_location.
Both of these will continue to work in the ARM, CLI, and Portal, as well as any existing workflows you already have. I will make the necessary changes to make sure the action does not throw this warning.
Thanks for surfacing this!
@miwebst Thanks for responding and for the improvement. I understood that.
The warnings should be gone now, going to keep this open until we get the docs updated.
This has been documented!
When I deploy an Azure Static Web Apps with Azure CLI or ARM template, the generated workflow file includes
output_location
instead ofapp_artifact_location
.GitHub Action shows
Warning: Unexpected input(s) 'output_location'
when the workflow run, but theoutput_location
seems to work asapp_artifact_location
. for evidence, if remove theoutput_location
parameter, the following error occurred.I tested these behaviors on this repository that is based on vue-basic template.
This is a command to deploy the static web apps for the repository above at first.
Then I tested whether the
output_location
works correctly on this pull request. https://github.com/dzeyelid/staticwebapps-test/pull/2In addition, the ARM template that makes the same situation is here. This template is based on this syntax. https://github.com/dzeyelid/line-liff-with-azure-handson/blob/main/arm-templates/template.json
These behaviors make us confused, so I would like you to confirm it.
Thanks.