diff --git a/slides/.gitkeep b/slides/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/tools/ansible/deploy/after-update-code.yml b/tools/ansible/deploy/after-update-code.yml index a5f2f4a9b..9f1f67919 100644 --- a/tools/ansible/deploy/after-update-code.yml +++ b/tools/ansible/deploy/after-update-code.yml @@ -32,4 +32,3 @@ changed_when: "'There are no changes to import' not in config_import_result.stderr" - include: ../includes/build-theme-assets.yml -- include: ../includes/build-talk-slides.yml diff --git a/tools/ansible/includes/build-talk-slides.yml b/tools/ansible/includes/build-talk-slides.yml deleted file mode 100644 index c99921c36..000000000 --- a/tools/ansible/includes/build-talk-slides.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -- name: Generate static slides for talks - shell: > - npm install; npx reveal-md slides.md --static --static-dirs=assets - chdir={{ ansistrano_release_path.stdout }}/slides/{{ item }} - with_items: '{{ slides_repo_names }}' diff --git a/tools/ansible/vars/provision_vars.yml b/tools/ansible/vars/provision_vars.yml index 9b13a48dc..efc3635af 100644 --- a/tools/ansible/vars/provision_vars.yml +++ b/tools/ansible/vars/provision_vars.yml @@ -152,7 +152,7 @@ nginx_vhosts: # Talks {% for name in slides_repo_names %} location /slides-{{ name }} { - alias {{ project_root_path }}/{{ ansistrano_current_dir }}/slides/{{ name }}/_static/; + alias /srv/slides-{{ name }}/_static/; } {% endfor %}