fix: Improve CI, fix builds (#554)
* ci(Test): Add `workflow_dispatch` trigger * ci(Test): Build and run on push and pr * test: Set failfast, remove ERPNext reference * test: Reveal .env file for logs * ci(Test): Rename step * ci(Test): Fix git tag * test: Add -x flag for debugging * test: Fix failing test * ci(Test): Check if built images are used * ci(Test): Configure trigger paths, don't build on schedule * test: Remove bug * ci: Build and test stable images on PR * fix(frappe-nginx): Get back to `ls` from `find` * check if test passes with erpnext images * fix(frappe-worker): Default sites in backup command * get integration test changes back * chore: Fix linting
This commit is contained in:
@@ -159,13 +159,8 @@ doctor)
|
||||
;;
|
||||
|
||||
backup)
|
||||
if [[ -n $WITH_FILES ]]; then
|
||||
WITH_FILES=--with-files
|
||||
fi
|
||||
|
||||
for site in ${SITES//:/ }; do
|
||||
bench --site "$site" backup $WITH_FILES
|
||||
done
|
||||
/home/frappe/frappe-bench/env/bin/python /home/frappe/frappe-bench/commands/backup.py
|
||||
exit
|
||||
;;
|
||||
|
||||
console)
|
||||
|
||||
Reference in New Issue
Block a user