GH Action to create a PR #5
Workflow file for this run
This file contains hidden or 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: Build or Update HTML from AsciiDoc | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - housekeeping/* | |
| jobs: | |
| run_html_build: | |
| runs-on: windows-latest | |
| name: Build HTML from AsciiDoc | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-ruby@v1 | |
| - name: install_Asciidoctor | |
| run: | | |
| gem install asciidoctor | |
| gem install asciidoctor-diagram | |
| gem install rouge | |
| - name: Run | |
| run: | | |
| cd ./scripts/ | |
| ./Ascii-doc-html_creator.ps1 | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| commit-message: update asciidoc html files | |
| title: Update Html from AsciiDoc | |
| body: Updated HTML files generated from AsciiDoc sources. | |
| branch: update-asciidoc-html | |
| base: main | |