fix: Run bench as frappe user

This commit is contained in:
gavin 2020-09-04 12:09:20 +05:30 committed by Gavin D'souza
parent 662a7ac56e
commit 2727fafdc1

View file

@ -15,9 +15,9 @@ jobs:
steps:
- name: Set up bench
run: |
sudo bench init frappe-bench --skip-assets --python $(which python)
sudo -H -u frappe bash -c 'bench init frappe-bench --skip-assets --python $(which python)'
cd frappe-bench/apps/frappe && git checkout $GITHUB_SHA
bench build
sudo -H -u frappe bash -c 'bench build'
- name: Package assets
run: |