Oops, fix YAML + bash mistake
Okay so you know how in 3f07933f7a
I switched the newline stuff here?
Yeah, right, I forgot, newlines are significant in bash :p I forgot this because I've never used them inside a `bash -c` invocation, but like, of course
Now, I'm still using `|` for clarity and reduced dependence on magic, but getting my lines right :p
This commit is contained in:
parent
32ae1accce
commit
1e3e8391b4
1 changed files with 2 additions and 4 deletions
|
@ -70,9 +70,7 @@
|
|||
# running. So, these two copies of node_modules *should* just stay
|
||||
# permanently the way they are forever, so linking shoouulld be safe 🤞
|
||||
command: |
|
||||
bash -c "
|
||||
ln -s $(realpath /srv/impress-2020/current/node_modules)
|
||||
{{ remote_app_root }}/node_modules"
|
||||
bash -c "ln -s $(realpath /srv/impress-2020/current/node_modules) {{ remote_app_root }}/node_modules"
|
||||
when: "can_reuse_node_modules_when_successful.rc == 0"
|
||||
|
||||
- name: Run `yarn install` to install dependencies in new remote folder
|
||||
|
|
Loading…
Reference in a new issue