How to use as part of GitHub actions? #790
Unanswered
RyanPaulGannon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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