Skip to content

Commit

Permalink
ci: Make sure to copy files over after generate_readme step [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
FHeilmann committed Dec 19, 2023
1 parent 7ec9215 commit 77ba23d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test_generate_readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- name: Generate README 📒
uses: docker://ghcr.io/vorondesign/voron_toolkit_docker:latest
env:
VORON_TOOLKIT_OUTPUT_DIR: tests/test_repository_root/printer_mods
VORON_TOOLKIT_OUTPUT_DIR: ${{ runner.temp }}
VORON_TOOLKIT_INPUT_DIR: tests/test_repository_root/printer_mods
VORON_TOOLKIT_VERBOSE: true
README_GENERATOR_MARKDOWN: true
Expand All @@ -34,6 +34,8 @@
run: |
git config user.email "[email protected]"
git config user.name "Voron-GitHub-Bot"
cp ${{ runner.temp }}/readme_generator/README.md tests/test_repository_root/printer_mods/README.md
cp ${{ runner.temp }}/readme_generator/mods.json tests/test_repository_root/printer_mods/mods.json
git add tests/test_repository_root/printer_mods/README.md printer_mods/mods.json
git commit -m "Generate VoronUsers printer_mods README.md [skip ci]" || true
# Push the changes
Expand Down

0 comments on commit 77ba23d

Please sign in to comment.