Skip to content

Commit

Permalink
- Fixed missing npm install commands.
Browse files Browse the repository at this point in the history
 - If an error occurs, make it fault and exit console.
mhidaka committed May 10, 2020
1 parent eeae630 commit 0d533db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -l
#!/bin/sh -el

[ -z "${INPUT_TARGET_DIR}" ] && { echo "Need to set TARGET_DIR. Default is './'"; exit 1; }
[ -z "${INPUT_CONFIG_FILE}" ] && { echo "Need to set CONFIG_FILE. Default is 'config.yml'"; exit 1; }
@@ -7,5 +7,5 @@
# TODO Enable env paramaters that only INPUT_TARGET_DIR works well.

echo "Run Initialization and build step"
cd $INPUT_TARGET_DIR && bundle install && npm run pdf
cd $INPUT_TARGET_DIR && bundle install && npm install && npm run pdf
echo "Finish build step"

0 comments on commit 0d533db

Please sign in to comment.