Do not run worker.sh with sudo
This commit is contained in:
1 parent
f343f14e3c
commit
ea375caebc
1 file changed
+1
-1
@@ -52,7 +52,7 @@ jobs:
|
||||
echo "$FILES" ; if [ -z "$FILES" ] ; then echo "Variable FILES is empty." && exit 1 ; fi
|
||||
# Work on these files that have been changed in the last commit
|
||||
# Check if $FILES is not empty
|
||||
if [ -n "$FILES" ] ; then for FILE in $FILES ; do echo "$FILE" ; sudo -E bash -e code/worker.sh $(readlink -f "$FILE") 2>&1 | tee log.txt ; done ; fi
|
||||
if [ -n "$FILES" ] ; then for FILE in $FILES ; do echo "$FILE" ; bash -e code/worker.sh $(readlink -f "$FILE") 2>&1 | tee log.txt ; done ; fi
|
||||
# xpra stop :99
|
||||
killall Xvfb
|
||||
# bundle exec jekyll build # https://help.github.com/en/articles/viewing-jekyll-build-error-messages#configuring-a-third-party-service-to-display-jekyll-build-error-messages
|
||||
|
||||
Reference in new issue
Block a user