Skip to content

Commit

Permalink
feat(infra): 競技者 VM にフロントエンドのソースコードを配置しないようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
ShotaKitazawa committed Jul 8, 2021
1 parent 1fb65f3 commit e9d0e1a
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e9d0e1a

Please sign in to comment.