Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayanmullick committed Apr 3, 2024
1 parent 20f5cfc commit 3d75282
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/AzPS.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# File: ./scripts/run_azps_cmdlets.ps1
name: AzurePowerShellScript
on: [workflow_dispatch]
jobs:
Expand All @@ -9,9 +8,10 @@ jobs:

- name: Check Out
uses: actions/checkout@v4
with:
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
uses: azure/login@v2
Expand All @@ -22,6 +22,5 @@ jobs:
- name: Run Azure PowerShell Script File
uses: azure/powershell@v2
with:
inlineScript: | #GetRG.ps1
Get-ChildItem -Recurse
inlineScript: ./3TierApp/GetRG.ps1
azPSVersion: "latest"

0 comments on commit 3d75282

Please sign in to comment.