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
(It would be great if a tutorial existed which demonstrated how to create such a simple repo for Azure, I can't find one).
The text was updated successfully, but these errors were encountered:
oshihirii
changed the title
What is the absolute minimum that can be in a GitHub repo for it to work with Azure 'Static Web Apps`?
What is the absolute minimum that can be in a GitHub repo for it to work with Azure 'Static Web Apps'?
Oct 22, 2022
You can remove all except for .github/workflows - if you are following tutorial on creating static web app with vs code there is probably github action defined, that deploys contents to azure. So for you the project structure would look like this:
.github/workflows /js /css index.html
Also from .github/workflows you can remove playwright-onDemand.yml and playwright-scheduled.yml - those are actions defined to run playwright tests, but since tests, package.json, package-lock.json and playwright.config.ts are gone, they won't work (they don't work anyway, because some referenced packages aren't maintained, but that shouldn't bother you).
It may be helpful to have .gitignore and readme.md, but it's up to you.
I would like to create a really simple Single Page Application on Azure.
I have cloned https://github.com/staticwebdev/vanilla-basic
It has lots of folders and files which are very foreign to me (eg
.devcontainer
,.github/workflows
,tests
,playwright
,typescript files
)I do not use Visual Studio Code Editor and do not want anything installed except for what is required for a site to run on Azure.
What is the absolute minimum that can be in a GitHub repo for it to work with Azure 'Static Web Apps'?
This is what the current default repo contents are:
Ideally, I would just like it to contain:
(It would be great if a tutorial existed which demonstrated how to create such a simple repo for Azure, I can't find one).
The text was updated successfully, but these errors were encountered: