Skip to content

Commit

Permalink
Assurant setup GitHub action workflow for ado migration process (#25)
Browse files Browse the repository at this point in the history
* 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
2 people authored and jenny-curry committed Jan 3, 2025
1 parent 1d9c4b4 commit 1d42fac
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ado-migration-process
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!'"
6 changes: 6 additions & 0 deletions test-script.ps1
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 " "

0 comments on commit 1d42fac

Please sign in to comment.