-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assurant setup GitHub action workflow for ado migration process (#25)
* Add a test script to the repo to test github action workflow * Create ado-migration-process This Action Workflow will be used for executing the ADO Project Migration process. * Update ado-migration-process --------- Co-authored-by: JohnEvans <[email protected]>
- Loading branch information
1 parent
1d9c4b4
commit 1d42fac
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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!'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Write-Host " " | ||
Write-Host " TESTING TESTING TESTING " | ||
Write-Host " Hello World " | ||
Write-Host " TESTING TESTING TESTING " | ||
Write-Host " " | ||
|