azure-dev: [Issue] Static Web App claims to deploy, but doesn't actually

  • Make sure you’ve installed the latest version using instructions in the wiki

Output from azd version

Whatever is installed in Github action

Describe the bug

For this repo: https://github.com/pamelafox/pamelafox-site/

azd up locally seems to work as expected. However, the action doesn’t. It claims it deployed but the website has old content.

See https://github.com/pamelafox/pamelafox-site/actions/runs/4589196674/jobs/8103920293 I outputted the top lines of one of the HTML files, and it seems updated, but the website doesnt reflect it.

So I turned on --debug in the commit after: https://github.com/pamelafox/pamelafox-site/actions/runs/4589218345/jobs/8103957288

I notice this in the logs:

  • Preparing deployment. Please wait… ✖ An unknown exception has occurred

So I wonder if its silently failing but thinking it worked.

To Reproduce

Fork, azd pipeline config, azd up, git push.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 27 (21 by maintainers)

Most upvoted comments

Thanks @vhvb1989

Being a core SWA CLI issue https://github.com/Azure/static-web-apps-cli/issues/688 with workaround for todo templates in place via #2002 and same has been documented for any new external template users https://github.com/Azure/azure-dev/issues/1847#issuecomment-1542711058

Can we close this @vhvb1989 @pamelafox ?