Skip to content

Commit f3aad55

Browse files
[improve](build): commit outputs (#116)
* [improve](build): commit outputs Signed-off-by: Ralph Hightower <[email protected]> * [improve](build): add filename to name Signed-off-by: Ralph Hightower <[email protected]> * [improve](build): add filename to name Signed-off-by: Ralph Hightower <[email protected]> * [improve](build): add filename to name Signed-off-by: Ralph Hightower <[email protected]> * [improve](build): add filename to name Signed-off-by: Ralph Hightower <[email protected]> * [improve](build): add filename to name Signed-off-by: Ralph Hightower <[email protected]> --------- Signed-off-by: Ralph Hightower <[email protected]>
1 parent 4246e60 commit f3aad55

File tree

5 files changed

+18
-5
lines changed

5 files changed

+18
-5
lines changed

.github/workflows/NewYearUpdateCopyright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create Issue to Update Year In Relevant Files
1+
name: NewYearUpdateCopyrightYear.yml – Create Issue to Update Year In Relevant Files
22
# developer: @RalphHightower
33
on:
44
schedule:

.github/workflows/docker-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# workflow runs whenever the dockerfile is changed, and updates the
44
# container image in the Github Packages registry.
55

6-
name: Publish Docker Image
6+
name: docker-update.yml – Publish Docker Image
77

88
# Controls when the action will run.
99
on:

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is a basic workflow to help you get started with Actions
22

3-
name: build-pandoc files
3+
name: main.yml – build-pandoc files
44

55
# Controls when the action will run.
66
on:

.github/workflows/pandoc-setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- name "Setup pandoc. from @pandoc/actions"
1+
- name "pandoc-setup.yml – Setup pandoc. from @pandoc/actions"
22

33
jobs:
44
pandoc:

.github/workflows/pandoc.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build
1+
name: pandoc.yml – Build
22

33
on:
44
push:
@@ -42,6 +42,7 @@ jobs:
4242
--from markdown --to html \
4343
--output output/${FILE_NAME}.html $f \
4444
--metadata pagetitle=$FILE_NAME
45+
git add output/${FILE_NAME}.html
4546
done
4647
4748
- name: Build PDF
@@ -53,24 +54,36 @@ jobs:
5354
--variable papersize=A4 \
5455
--output output/${FILE_NAME}.tex $f
5556
mtxrun --path=output --result=${FILE_NAME}.pdf --script context ${FILE_NAME}.tex
57+
git add output/${FILE_NAME}.pdf
5658
done
5759
5860
- name: Build DOCX
5961
run: |
6062
for f in markdown/*.md; do
6163
FILE_NAME=$(basename "$f" | sed 's/.md//g')
6264
pandoc --standalone ${{ steps.version.outputs.smart_flag }} $f --output output/${FILE_NAME}.docx
65+
git add output/${FILE_NAME}.docx
6366
done
6467
6568
- name: Build RTF
6669
run: |
6770
for f in markdown/*.md; do
6871
FILE_NAME=$(basename "$f" | sed 's/.md//g')
6972
pandoc --standalone ${{ steps.version.outputs.smart_flag }} $f --output output/${FILE_NAME}.rtf
73+
git add output/${FILE_NAME}.rtf
7074
done
7175
7276
- name: Upload output
7377
uses: actions/[email protected]
7478
with:
7579
name: output
7680
path: output
81+
82+
- name: ⤴ Commit updated version
83+
run: |
84+
git pull 'https://${{secrets.GITHUB_TOKEN}}@github.com/RalphHightower/EOL-RalphHightower.git'
85+
git config remote.origin.url 'https://${{secrets.GITHUB_TOKEN}}@github.com/RalphHightower/EOL-RalphHightower.git'
86+
git config user.name RalphHightower
87+
git config user.email [email protected]
88+
git commit -am "[docs](doc): Update Documents"
89+
git push

0 commit comments

Comments
 (0)