Skip to content

Commit 0cb2447

Browse files
author
James Brundage
committed
Updating Workflows (running GitPub on demand)
1 parent 68b43fa commit 0cb2447

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/OnIssue.yml .github/workflows/GitPub.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11

2-
name: OnIssueChanged
2+
name: GitPub
33
on:
4-
issues:
54
workflow_dispatch:
65
jobs:
76
RunGitPub:
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#requires -Module PSDevOps
1+
#requires -Module PSDevOps,GitPub
22
Import-BuildStep -ModuleName PipeScript
33
Push-Location ($PSScriptRoot | Split-Path)
44
New-GitHubWorkflow -Name "Analyze, Test, Tag, and Publish" -On Push,
@@ -7,4 +7,7 @@ New-GitHubWorkflow -Name "Analyze, Test, Tag, and Publish" -On Push,
77
TestPowerShellOnLinux,
88
TagReleaseAndPublish,
99
BuildPipeScript -OutputPath .\.github\workflows\TestAndPublish.yml
10+
11+
New-GitHubWorkflow -On Demand -Job RunGitPub -Name GitPub -OutputPath .\.github\workflows\GitPub.yml
12+
1013
Pop-Location

0 commit comments

Comments
 (0)