Fixed entrypoint chown statement (#304)

* Fix entrypoint

* Rescope chart actions
This commit is contained in:
Ween Jiann
2021-03-25 11:18:23 +08:00
committed by GitHub
parent 36db897022
commit 176e2c96d6
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,9 @@
name: Lint and Test Charts
on: pull_request
on:
pull_request:
paths:
- "charts/**"
jobs:
lint-chart:

View File

@@ -83,7 +83,7 @@ fi
rm -rf "$BAK_PUBLIC_PATH"
# Set permission for web server to create/update files (only <v4)
if [[ ${str::1} -le 4 ]]; then
if [[ ${INVOICENINJA_VERSION::1} -le 4 ]]; then
chown -R "$INVOICENINJA_USER":www-data /var/www/app/storage /var/www/app/public /var/www/app/bootstrap
fi