🤡 Add "make bake" command (#97)

I feel like since this is bread related, release should be renamed to
"bake". So `make bake` will bake you the final book versions.
This commit is contained in:
Hendrik Kleinwaechter
2023-05-21 20:19:56 +02:00
committed by GitHub
parent c2d5e88377
commit 6c8839da87
5 changed files with 16 additions and 16 deletions

View File

@@ -9,7 +9,7 @@ jobs:
steps:
- name: Set up git repository
uses: actions/checkout@v3
- name: Build the book
- name: Bake the book
uses: xu-cheng/texlive-action/full@v1
with:
run: |
@@ -18,8 +18,8 @@ jobs:
tar xzf kindlegen_linux_2.6_i386_v2_9.tar.gz
mv kindlegen /usr/bin
cd book
make release
- name: Release book on S3
make bake
- name: Release baked book to S3
uses: shallwefootball/s3-upload-action@master
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}

View File

@@ -13,7 +13,7 @@ jobs:
apk add make
cd book
make build_pdf
- name: Test building release versions
- name: Test baking the release versions
uses: xu-cheng/texlive-action/full@v1
with:
run: |
@@ -22,4 +22,4 @@ jobs:
tar xzf kindlegen_linux_2.6_i386_v2_9.tar.gz
mv kindlegen /usr/bin
cd book
make release
make bake