Render to a temporary outside directory and then copy to our actual output directory.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-09-27 05:12:30 -05:00
parent 32d80977a7
commit bedaa53533

View File

@@ -7,4 +7,4 @@ RUN cargo install --path .
ENV PLUGIN_INPUT=.
ENV PLUGIN_OUTPUT=output
CMD historian $PLUGIN_INPUT --template-path /usr/src/historian/templates --render-to $PLUGIN_OUTPUT
CMD historian $PLUGIN_INPUT --template-path /usr/src/historian/templates --render-to /tmp/historian-output && cp -R /tmp/historian-output $PLUGIN_OUTPUT