diff --git a/.github/workflows/ado-migration-process b/.github/workflows/ado-migration-process new file mode 100644 index 0000000..a827261 --- /dev/null +++ b/.github/workflows/ado-migration-process @@ -0,0 +1,17 @@ +name: Run ADO Migration PowerShell Scripts + +on: + workflow_dispatch: # Allows manual triggering via the GitHub Actions UI + +jobs: + run-powershell-script: + name: Run PowerShell Script + runs-on: ubuntu-latest # You can change the runner to your preferred OS + + steps: + - name: Run Migrate-Project PowerShell script + shell: pwsh # Use 'powershell' for Windows runners + run: | + # Here's an example of running a simple PowerShell script without parameters: ("path/to/test-script.ps1") + $scriptPath = "/test-script.ps1" + pwsh -Command "Write-Host 'Hello, PowerShell!'" diff --git a/test-script.ps1 b/test-script.ps1 new file mode 100644 index 0000000..c435251 --- /dev/null +++ b/test-script.ps1 @@ -0,0 +1,6 @@ +Write-Host " " +Write-Host " TESTING TESTING TESTING " +Write-Host " Hello World " +Write-Host " TESTING TESTING TESTING " +Write-Host " " +