mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-12-05 09:04:26 -06:00
Fix Docker workflow issues (hopefully) (#143)
This hopefully fixes some of the issues of the docker workflow building the book and website
This commit is contained in:
committed by
GitHub
parent
58004497bd
commit
46ab05048e
24
.github/workflows/release-website.yml
vendored
24
.github/workflows/release-website.yml
vendored
@@ -9,11 +9,29 @@ jobs:
|
||||
steps:
|
||||
- name: Set up git repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Bake the book
|
||||
uses: docker://ghcr.io/hendricius/the-sourdough-framework:latest
|
||||
- name: Print dependency versions
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
image: ghcr.io/hendricius/the-sourdough-framework:latest
|
||||
options: -v ${{ github.workspace }}:/app
|
||||
run: |
|
||||
cd book
|
||||
cd /app/book
|
||||
make show_tools_version
|
||||
- name: Print build variables
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
image: ghcr.io/hendricius/the-sourdough-framework:latest
|
||||
options: -v ${{ github.workspace }}:/app
|
||||
run: |
|
||||
cd /app/book
|
||||
make printvars
|
||||
- name: Bake the book
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
image: ghcr.io/hendricius/the-sourdough-framework:latest
|
||||
options: -v ${{ github.workspace }}:/app
|
||||
run: |
|
||||
cd /app/book
|
||||
make website
|
||||
- name: Release baked website to S3
|
||||
uses: shallwefootball/s3-upload-action@master
|
||||
|
||||
Reference in New Issue
Block a user