Skip to content

Commit 8869001

Browse files
committed
Added node_modules
1 parent 1a650fc commit 8869001

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

ansible/deploy-frontend.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,18 @@
4242
state: present
4343
become: yes
4444

45-
- name: Create zip package for deployment (excluding node_modules)
45+
# - name: Create zip package for deployment (excluding node_modules)
46+
# shell: |
47+
# zip -r {{ ZIP_PATH }} . -x "node_modules/*"
48+
# args:
49+
# chdir: "{{ FRONTEND_PATH }}"
50+
- name: Create zip package for deployment (including node_modules)
4651
shell: |
47-
zip -r {{ ZIP_PATH }} . -x "node_modules/*"
52+
zip -r {{ ZIP_PATH }} .
4853
args:
4954
chdir: "{{ FRONTEND_PATH }}"
5055

56+
5157
- name: Deploy zip to Azure Web App
5258
shell: |
5359
az webapp deploy \

0 commit comments

Comments
 (0)