Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/NewYearUpdateCopyright.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create Issue to Update Year In Relevant Files
name: NewYearUpdateCopyrightYear.yml – Create Issue to Update Year In Relevant Files
# developer: @RalphHightower
on:
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# workflow runs whenever the dockerfile is changed, and updates the
# container image in the Github Packages registry.

name: Publish Docker Image
name: docker-update.yml – Publish Docker Image

# Controls when the action will run.
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: build-pandoc files
name: main.yml – build-pandoc files

# Controls when the action will run.
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pandoc-setup.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- name "Setup pandoc. from @pandoc/actions"
- name "pandoc-setup.yml – Setup pandoc. from @pandoc/actions"

jobs:
pandoc:
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: pandoc.yml – Build

on:
push:
Expand Down Expand Up @@ -42,6 +42,7 @@ jobs:
--from markdown --to html \
--output output/${FILE_NAME}.html $f \
--metadata pagetitle=$FILE_NAME
git add output/${FILE_NAME}.html
done

- name: Build PDF
Expand All @@ -53,24 +54,36 @@ jobs:
--variable papersize=A4 \
--output output/${FILE_NAME}.tex $f
mtxrun --path=output --result=${FILE_NAME}.pdf --script context ${FILE_NAME}.tex
git add output/${FILE_NAME}.pdf
done

- name: Build DOCX
run: |
for f in markdown/*.md; do
FILE_NAME=$(basename "$f" | sed 's/.md//g')
pandoc --standalone ${{ steps.version.outputs.smart_flag }} $f --output output/${FILE_NAME}.docx
git add output/${FILE_NAME}.docx
done

- name: Build RTF
run: |
for f in markdown/*.md; do
FILE_NAME=$(basename "$f" | sed 's/.md//g')
pandoc --standalone ${{ steps.version.outputs.smart_flag }} $f --output output/${FILE_NAME}.rtf
git add output/${FILE_NAME}.rtf
done

- name: Upload output
uses: actions/[email protected]
with:
name: output
path: output

- 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 commit -am "[docs](doc): Update Documents"
git push
Loading