mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 08:30:39 +00:00
Disable watch in CI
This commit is contained in:
parent
b77434bb61
commit
adfc11008a
@ -13,7 +13,8 @@ def setup_procfile(bench_path, yes=False):
|
||||
procfile = bench.env.get_template('Procfile').render(
|
||||
node=find_executable("node") or find_executable("nodejs"),
|
||||
use_rq=use_rq(bench_path),
|
||||
webserver_port=config.get('webserver_port'))
|
||||
webserver_port=config.get('webserver_port'),
|
||||
CI=os.environ.get('CI'))
|
||||
|
||||
with open(procfile_path, 'w') as f:
|
||||
f.write(procfile)
|
||||
|
@ -4,7 +4,9 @@ redis_queue: redis-server config/redis_queue.conf
|
||||
web: bench serve {% if webserver_port -%} --port {{ webserver_port }} {%- endif %}
|
||||
|
||||
socketio: {{ node }} apps/frappe/socketio.js
|
||||
{% if not CI %}
|
||||
watch: bench watch
|
||||
{% endif %}
|
||||
{% if use_rq -%}
|
||||
schedule: bench schedule
|
||||
worker_short: bench worker --queue short
|
||||
|
Loading…
Reference in New Issue
Block a user