question

Dunce-01 avatar image
2 Votes"
Dunce-01 asked ryanchill commented

Publishing content to Azure Static Web Apps without using CI/CD

I would really like to use the static web app feature for a Blazor web Assembly app - alongside a paid subscription for a normal Web App, to host an API. It's a case of being able to use both on Azure, or host both together elsewhere.

I'm really struggling however to get content to the static web app. I don't want to use CI/CD to push content from GitHub or DevOps. I just want to be able to publish from Visual Studio (or even upload via FTP). Please can someone tell me how can I publish content to a static web app, without using CI/CD? Thank you

azure-static-web-apps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
0 Votes"
ryanchill answered ryanchill commented

Hi @Dunce-2045,

The team is evaluating other alternatives and some work is in progress; however, right now, GitHub and Azure DevOps are the only deployment providers currently supported. I can't provide a timetable for when additional provider support will be added.

EDIT: 2022-02-02

GitHub repos support an OOB experience. For other repositories such as Azure DevOps, BitBucket, you can leverage the deployment token for use in any deployment pipeline. The team is working to bring more of these integrated experiences into the fold but for now, below are some tutorial workarounds.

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Great, thank you so much

0 Votes 0 ·

Really bad user experience imho, Netlify, AWS Amplify offer drag and drop deployment options, here you only have CI/CD and once you've created the resource, there's no way to add a source using the portal. Unfortunately have to stay away from this until a better product is built

0 Votes 0 ·

@jcs01, thanks for your feedback. I've updated my answer as the deployment token can be used for any deployment method you choose.

As for a better out of box experience for selecting other repository providers (e.g. Bit Bucket, Local Git, etc.) when creating your static web app, I'll pass that feedback along to the team.



0 Votes 0 ·

Hello, to add to what @jcs01 said, Vercel, Netlify, AWS not only offer drag and drop, but also deployment of the build folder through cli. It's really as simple as executing a one-liner command. Whereas, in the Azure deployment process, you have to git pull, build, git push and wait for the action to finish only for deploying a build folder (I bypass the build process inside the github action to speedup the process).
You already have so many features bundled to the az staticwebapp CLI. Adding a deployment of the build folder is not that hard. The static web app feature was introduced on March of 2021 as beta. It's been almost a year and features that your competitors provided since day 1 are still not implemented.

Please provide feedback to the corresponding team. Using a github repo for the deployment process is really an utmost incovenience for many of us!

0 Votes 0 ·
Show more comments