17 lines
314 B
Plaintext
17 lines
314 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
cd {{ ansible_bibliogram_root_directory }}
|
||
|
commit="Save $RANDOM"
|
||
|
git add .
|
||
|
git stash save "${commit}"
|
||
|
git pull
|
||
|
git stash apply "${commit}"
|
||
|
|
||
|
cd {{ ansible_bibliogram_root_directory }}
|
||
|
|
||
|
{% if ansible_bibliogram_tor_enabled %}
|
||
|
npm install
|
||
|
{% else %}
|
||
|
npm install --no-optional
|
||
|
{% endif %}
|