From 056c03fb424d4506b1a8be220ff7c888f03dce57 Mon Sep 17 00:00:00 2001 From: Matchu Date: Tue, 2 Nov 2021 21:36:42 -0700 Subject: [PATCH] Create a `current` version symlink This is mostly just for convenience! --- deploy/playbooks/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deploy/playbooks/deploy.yml b/deploy/playbooks/deploy.yml index 2dfdbd0..c573ba2 100644 --- a/deploy/playbooks/deploy.yml +++ b/deploy/playbooks/deploy.yml @@ -57,6 +57,12 @@ chdir: "{{ remote_app_root }}" 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 # Print out all but the 5 last-recently-updated versions command: