diff --git a/provisioning/ansible/roles/contestant/tasks/isucondition-frontend.yml b/provisioning/ansible/roles/contestant/tasks/isucondition-frontend.yml index 8ce96eccd..09a03d4c3 100644 --- a/provisioning/ansible/roles/contestant/tasks/isucondition-frontend.yml +++ b/provisioning/ansible/roles/contestant/tasks/isucondition-frontend.yml @@ -15,8 +15,9 @@ PATH: "/home/isucon/local/node/bin:{{ ansible_env.PATH }}" command: npm run build -- name: Deploy static files +- name: "roles/contestant/tasks/isucondition-frontend: Remove frontend source code" become_user: root - shell: | - mkdir -p /www/data && cp -pR /home/isucon/webapp/frontend/dist/* /www/data/ + file: + path: /home/isucon/webapp/frontend + state: absent