Merge pull request #66 from RalphHightower/release-please--branches--… #424
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: Convert markdown to Word (NetworkSettings) | |
on: | |
push: | |
branches: | |
["main"] | |
pull_request: | |
branches: | |
["main"] | |
env: | |
CELLPHONE: ${{ secrets.CELLPHONE }} | |
BIRTHDATE: ${{ secrets.BIRTHDATE }} | |
jobs: | |
convert_via_pandoc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
#node-version: 'node16' | |
ref: ${{ github.event.push.head.ref }} | |
- uses: docker://pandoc/core:2.19.2 | |
with: | |
args: >- # allows you to break string into multiple lines | |
--standalone | |
--output=NetworkSettings.docx | |
NetworkSettings.md | |
- name: ⤴ Commit updated version | |
run: | | |
git pull 'https://${{secrets.GITHUB_TOKEN}}@github.com/RalphHightower/EOL-RalphHightower.git' | |
git config remote.origin.url 'https://${{secrets.GITHUB_TOKEN}}@github.com/RalphHightower/EOL-RalphHightower.git' | |
git config user.name RalphHightower | |
git config user.email [email protected] | |
git add . | |
git commit -am "Update Document for NetworkSettings" | |
git push |