You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have deployed several static web apps with linked backends and I always have an issue unlinking the managed functions so that I can link an azure function backend instead. I have followed the steps listed here.
Below is an example configuration that does not seem to unlink the backend.
- name: Deploy static web app
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ env.AZURE_STATIC_WEB_APPS_API_TOKEN }} # secret containing api token for app
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
skip_app_build: true
skip_api_build: true
###### Repository/Build Configurations - These values can be configured to match you app requirements. ######
app_location: ${{ env.APP_LOCATION }}
api_location: ""
output_location: ${{ env.APP_ARTIFACT_LOCATION }}
production_branch: "main"
###### End of Repository/Build Configurations ######
If I deploy over and over again, occasionally it will work but the majority of the time it does not. If you have any ideas on why this might be happening I would greatly appreciate it.
The text was updated successfully, but these errors were encountered:
I have deployed several static web apps with linked backends and I always have an issue unlinking the managed functions so that I can link an azure function backend instead. I have followed the steps listed here.
https://learn.microsoft.com/en-us/azure/static-web-apps/functions-bring-your-own
Below is an example configuration that does not seem to unlink the backend.
If I deploy over and over again, occasionally it will work but the majority of the time it does not. If you have any ideas on why this might be happening I would greatly appreciate it.
The text was updated successfully, but these errors were encountered: