microsoft / vscode-azureAutomation

MIT License
17 stars 4 forks source link

What's the recommended way of working with the scripts in version control? #53

Open trailmax opened 1 year ago

trailmax commented 1 year ago

I've just installed the extension and trying to figure out how to use it with the set up I have.

From what I see in the documentation, I need to set up base path for where the files are stored. that gives me the structure of c:\base\subscription\resourceGroup\automationAccount\files

But my existing git repo with the PS1 files for automation has this path: C:\Projects\AzureAutomation\{AutomationAccntName}\file.ps1. That does not fit with the structure above. And if I set C:\Projects\AzureAutomation\ as base path, that creates a whole new structure that I don't care for, nor willing to change the set up.

What's the recommended set up for case where files are in git and getting published from the git?