Skip to content

Commit

Permalink
edit entrypoint to use the github workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesworth committed Feb 4, 2020
1 parent b7993de commit 86e11e8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#!/bin/sh -l

# $1 should be the directory containing the items you want to compress
CURRENT_DIR="."
DIR=${1:-$CURRENT_DIR} # Defaults to "."

ls -R
WORKSPACE_DIR="/github/workspace/"
DIR="${WORKSPACE_DIR}${1}"

for FILE_EXT in '*.js' '*.css' '*.html'
do
Expand All @@ -13,7 +11,6 @@ do
then
echo "no $FILE_EXT files found"
else
echo $FILES
echo $FILES | xargs /brotli -v --
fi
done

0 comments on commit 86e11e8

Please sign in to comment.