Skip to content

Commit 0b557ee

Browse files
Merge pull request #11 from StartAutomating/obs-powershell-init
obs-powershell initial version
2 parents f11b7c1 + ef5b6f5 commit 0b557ee

File tree

304 files changed

+35954
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

304 files changed

+35954
-0
lines changed

.github/workflows/GitPub.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
name: GitPub
3+
on:
4+
issues:
5+
workflow_dispatch:
6+
jobs:
7+
RunGitPub:
8+
runs-on: ubuntu-latest
9+
if: ${{ success() }}
10+
steps:
11+
- name: Check out repository
12+
uses: actions/checkout@v2
13+
- name: Use GitPub Action
14+
uses: StartAutomating/GitPub@main
15+
id: GitPub
16+
with:
17+
TargetBranch: edits-$([DateTime]::Now.ToString("r").Replace(":","-").Replace(" ", ""))
18+
CommitMessage: Posting with GitPub [skip ci]
19+
PublishParameters: |
20+
{
21+
"Get-GitPubIssue": {
22+
"Repository": '${{github.repository}}'
23+
},
24+
"Get-GitPubRelease": {
25+
"Repository": '${{github.repository}}'
26+
},
27+
"Publish-GitPubJekyll": {
28+
"OutputPath": "docs/_posts"
29+
}
30+
}
31+

0 commit comments

Comments
 (0)