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
(Searched discussions for "actions", "workflow", ''yml")
I am hoping someone might be able to point me in the right direction here or enlighten me :)
I know there is a workflow file issued when setting up a SWA in Azure, however I have been playing with changing my Vue app to a Leptos app and I can get the app to deploy using the CLI (which is really good), however I am struggling to get the actions to work (I'm not too well versed with yml, however I think I'm struggling more due to a lack of deeper understanding of Azure).
I have tried using the stock yml file, but Oryx can't find the framework (which I expected), and then I realise I can't override the build command because it's not a node project. I also tried installing Trunk so I could build the app that way but the dependencies appear to make the file waaay too large. So I tried to run the CLI through a workflow file which I have been testing for quite some time and can't figure it out. I can get myself logged in automatically using the service principal flags and that's great, but I am met with an error that there is no subscription associated with the tenant-id (I am not sure how to link this to the SWA which I have created - again, some understanding is missing on my part I think?).
I realise this is possibly a little open ended, but I am trying to verse myself better with Azure and any help/guidance here would be greatly appreciated. I have the app running as I stated, but that was from manually running through the CLI which was very quick and easy.
This is my current azure.yml file I am using, although I am not sure if it is of use or how far away I am exactly from achieving what I want:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all,
(Searched discussions for "actions", "workflow", ''yml")
I am hoping someone might be able to point me in the right direction here or enlighten me :)
I know there is a workflow file issued when setting up a SWA in Azure, however I have been playing with changing my Vue app to a Leptos app and I can get the app to deploy using the CLI (which is really good), however I am struggling to get the actions to work (I'm not too well versed with yml, however I think I'm struggling more due to a lack of deeper understanding of Azure).
I have tried using the stock yml file, but Oryx can't find the framework (which I expected), and then I realise I can't override the build command because it's not a node project. I also tried installing Trunk so I could build the app that way but the dependencies appear to make the file waaay too large. So I tried to run the CLI through a workflow file which I have been testing for quite some time and can't figure it out. I can get myself logged in automatically using the service principal flags and that's great, but I am met with an error that there is no subscription associated with the tenant-id (I am not sure how to link this to the SWA which I have created - again, some understanding is missing on my part I think?).
I realise this is possibly a little open ended, but I am trying to verse myself better with Azure and any help/guidance here would be greatly appreciated. I have the app running as I stated, but that was from manually running through the CLI which was very quick and easy.
This is my current
azure.yml
file I am using, although I am not sure if it is of use or how far away I am exactly from achieving what I want:Cheers
Ryan :)
Beta Was this translation helpful? Give feedback.
All reactions