From b4f2902b4661f5ba0c2cf1d743ce0b4513bb9456 Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 22 Oct 2021 23:28:26 -0700 Subject: [PATCH] * Fixed static output path on remote --- aws/playbooks/update-service.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/aws/playbooks/update-service.yml b/aws/playbooks/update-service.yml index 4326a5f..584c575 100644 --- a/aws/playbooks/update-service.yml +++ b/aws/playbooks/update-service.yml @@ -21,6 +21,11 @@ path: '{{app_dir}}/js' state: directory + - name: Build skeleton static directory + file: + path: '{{app_dir}}/static' + state: directory + - name: Build skeleton templates directory file: path: '{{app_dir}}/templates' @@ -34,8 +39,8 @@ - { src: ../../build/static/css/style.css, dest: '{{app_dir}}/'} - { src: ../../build/static/js/index.js, dest: '{{app_dir}}/js/'} - { src: ../../build/static/js/category.js, dest: '{{app_dir}}/js/'} - - { src: ../../build/static/cantfindshit.jpg, dest: '{{app_dir}}/'} - - { src: ../../build/static/favicon.png, dest: '{{app_dir}}/'} + - { src: ../../build/static/cantfindshit.jpg, dest: '{{app_dir}}/static/'} + - { src: ../../build/static/favicon.png, dest: '{{app_dir}}/static/'} - { src: ../../build/templates/list.html.tera, dest: '{{app_dir}}/templates/list.html.tera'} - { src: ../../build/templates/video.html.tera, dest: '{{app_dir}}/templates/video.html.tera'} - { src: ../../build/Rocket.toml, dest: '{{app_dir}}/'}