fix: Run bench as frappe user
This commit is contained in:
parent
662a7ac56e
commit
2727fafdc1
1 changed files with 2 additions and 2 deletions
4
.github/workflows/publish-assets.yml
vendored
4
.github/workflows/publish-assets.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue