diff --git a/.github/workflows/AzPS.yml b/.github/workflows/AzPS.yml index 520acfc..bacb1ae 100644 --- a/.github/workflows/AzPS.yml +++ b/.github/workflows/AzPS.yml @@ -10,9 +10,9 @@ jobs: - name: Check Out uses: actions/checkout@v4 - with: #Checkout presents the repo to the Pipeline execution runtime. - ref: main # Specify the branch or commit - path: 3TierApp/ # Specify the folder path if the script doesn't need the entire repo for execution. + #with: #Checkout presents the repo to the Pipeline execution runtime. + # ref: main # Specify the branch or commit + # path: 3TierApp/ # Specify the folder path if the script doesn't need the entire repo for execution. #However, this is presenting the entire repo under a '3TierApp' folder. Verified using 'Get-ChildItem -Recurse' - name: Login Azure @@ -24,6 +24,5 @@ jobs: - name: Run Azure PowerShell Script File uses: azure/powershell@v2 with: - inlineScript: | #./3TierApp/GetRG.ps1 - Get-ChildItem -Recurse + inlineScript: ./3TierApp/GetRG.ps1 azPSVersion: "latest" \ No newline at end of file