-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue in azure static webapps workflow file #22
Comments
thank you for submitting this @varma59 |
Hi @varma59! Working to reproduce this locally, could you also share a link to the GitHub repo you are deploying? It sounds like the error may have to do with how the web site is set in the repo and what Static Web Apps is expecting or looking for. Seeing your repo would be super helpful so I can track this down. Thanks! |
Okay, |
Thanks for sharing your repo @varma59 and apologies for the delay here. When looking at your repo and failing workflows it looks like there may be an issue with your Azure SWA token that is being used for deploying. I woudl try to rest your API token to see if you continue to get the same errors. Here are a few links to give you some guidance: Let me know questions you have resetting your token, and once you do, if that resolved the error you are seeing. Thanks! |
@varma59 it also looks like you have 3 GitHub workflows for SWA: Would be helpful to remove the ones you are no longer using, to help ensure all the pieces (workflow, repo, SWA subscription, token) all align. |
@saragibby Thankyou for your reply. I followed what you said and now they are no issues with that repo. |
Describe the bug
When i tried to create a azure static website with file sources from my GitHub. The resources are also deployed successfully in Azure and is done with other works in Azure website and when i visit the GitHub workflow status there is an issue in the build and deploy job.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
As expected, the website is not deployed in the URL, but we get mails as issues every time we make a change.
Screenshots
Desktop (please complete the following information):
Additional context
Below of the image we see
App Directory Location: '/' was found.
Looking for event info
The content server has rejected the request with: BadRequest
Reason: No matching Static Web App was found or the api key was invalid.
The text was updated successfully, but these errors were encountered: