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
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user