diff --git a/.github/workflows/NewYearUpdateCopyright.yml b/.github/workflows/NewYearUpdateCopyright.yml index 8e6358e7..0313aede 100644 --- a/.github/workflows/NewYearUpdateCopyright.yml +++ b/.github/workflows/NewYearUpdateCopyright.yml @@ -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: diff --git a/.github/workflows/docker-update.yml b/.github/workflows/docker-update.yml index 1179cb3d..42a8ddf0 100644 --- a/.github/workflows/docker-update.yml +++ b/.github/workflows/docker-update.yml @@ -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: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5ac557e9..58603ae7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: diff --git a/.github/workflows/pandoc-setup.yml b/.github/workflows/pandoc-setup.yml index 7de2b078..9023fcf1 100644 --- a/.github/workflows/pandoc-setup.yml +++ b/.github/workflows/pandoc-setup.yml @@ -1,4 +1,4 @@ -- name "Setup pandoc. from @pandoc/actions" +- name "pandoc-setup.yml – Setup pandoc. from @pandoc/actions" jobs: pandoc: diff --git a/.github/workflows/pandoc.yml b/.github/workflows/pandoc.yml index b5601885..a32e1577 100644 --- a/.github/workflows/pandoc.yml +++ b/.github/workflows/pandoc.yml @@ -1,4 +1,4 @@ -name: Build +name: pandoc.yml – Build on: push: @@ -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 @@ -53,6 +54,7 @@ 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 @@ -60,6 +62,7 @@ jobs: 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 @@ -67,6 +70,7 @@ jobs: 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 @@ -74,3 +78,12 @@ jobs: 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 ralph.hightower@gmail.com + git commit -am "[docs](doc): Update Documents" + git push