New-GitLabPipeline
should create a GitLab Pipeline
#47
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
name: OnIssueChanged | |
on: | |
issues: | |
workflow_dispatch: | |
jobs: | |
RunGitPub: | |
runs-on: ubuntu-latest | |
if: ${{ success() }} | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Use GitPub Action | |
uses: StartAutomating/GitPub@main | |
id: GitPub | |
with: | |
TargetBranch: edits-$([DateTime]::Now.ToString("r").Replace(":","-").Replace(" ", "")) | |
CommitMessage: Posting with GitPub [skip ci] | |
PublishParameters: | | |
{ | |
"Get-GitPubIssue": { | |
"Repository": '${{github.repository}}' | |
}, | |
"Get-GitPubRelease": { | |
"Repository": '${{github.repository}}' | |
}, | |
"Publish-GitPubJekyll": { | |
"OutputPath": "docs/_posts" | |
} | |
} | |