Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
Allow same input/output
Browse files Browse the repository at this point in the history
Make replacement in two steps to allow usage of same input/output with the action.
  • Loading branch information
rrey authored and danielr1996 committed Nov 18, 2020
1 parent 39c60cc commit 704434f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
set -e
envsubst < $INPUT_INPUT > $INPUT_OUTPUT
envsubst < $INPUT_INPUT > tmp
mv tmp $INPUT_OUTPUT

0 comments on commit 704434f

Please sign in to comment.