Create a current
version symlink
This is mostly just for convenience!
This commit is contained in:
parent
49cc2224b6
commit
056c03fb42
1 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,12 @@
|
||||||
chdir: "{{ remote_app_root }}"
|
chdir: "{{ remote_app_root }}"
|
||||||
cmd: yarn install
|
cmd: yarn install
|
||||||
|
|
||||||
|
- name: Update the `current` folder to point to the new version
|
||||||
|
file:
|
||||||
|
src: "{{ remote_app_root }}"
|
||||||
|
dest: /srv/impress-2020/current
|
||||||
|
state: link
|
||||||
|
|
||||||
- name: Find older versions to clean up
|
- name: Find older versions to clean up
|
||||||
# Print out all but the 5 last-recently-updated versions
|
# Print out all but the 5 last-recently-updated versions
|
||||||
command:
|
command:
|
||||||
|
|
Loading…
Reference in a new issue