Skip to content

Commit

Permalink
create downloads dir before building in docker for docs build action
Browse files Browse the repository at this point in the history
  • Loading branch information
mjleehh committed Dec 20, 2024
1 parent 1b94864 commit 96c29bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
- name: check out repo
uses: actions/checkout@v3

- name: create downloads dir
run: mkdir -p build/docs/html/downloads

- name: build tbd docs image
run: ls -1 docs/config/tbd_docs.Dockerfile && docker build -t tbd_docs -f docs/config/tbd_docs.Dockerfile docs/config

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: ls -1 tools/docker/build.Dockerfile && docker build -t tbd_firmware -f tools/docker/build.Dockerfile $PWD

- name: build firmware
run: docker run --user "$(id -u):$(id -g)" -v $PWD:/code tbd_firmware ${{ inputs.tbd-platform }} configure bin
run: docker run --user -v$PWD:/code tbd_firmware ${{ inputs.tbd-platform }} configure bin

- name: upload firmware
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 96c29bd

Please sign in to comment.