-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.1 KB
/
NetworkSettings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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@v4
with:
#node-version: 'node16'
ref: ${{ github.event.push.head.ref }}
- uses: docker://pandoc/core:3.5
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 ralph.hightower@gmail.com
git add .
git commit -am "Update Document for NetworkSettings"
git push