Oops, Next.js builds are in .next/, not in build/
I was copying over an old create-react-app build folder, and the app was crashing remotely because there was no build! Anyway woo it looks like the app is at least running now, `curl localhost:3000` shows results! >:3
This commit is contained in:
parent
9d41e80942
commit
27b9f50afb
1 changed files with 6 additions and 6 deletions
|
@ -36,21 +36,21 @@
|
|||
|
||||
- name: Copy local app's source files to new remote folder
|
||||
ansible.posix.synchronize:
|
||||
src: "{{ local_app_root }}"
|
||||
src: "{{ local_app_root }}/"
|
||||
dest: "{{ remote_app_root }}"
|
||||
rsync_opts:
|
||||
- "--exclude=.git"
|
||||
- "--filter=':- .gitignore'"
|
||||
|
||||
- name: Copy local app's build files to new remote folder
|
||||
- name: Copy local app's .next build files to new remote folder
|
||||
ansible.posix.synchronize:
|
||||
src: "{{ local_app_root }}/build"
|
||||
dest: "{{ remote_app_root }}/build"
|
||||
src: "{{ local_app_root }}/.next/"
|
||||
dest: "{{ remote_app_root }}/.next"
|
||||
|
||||
- name: Copy local app's .env secrets file to new remote folder
|
||||
copy:
|
||||
ansible.posix.synchronize:
|
||||
src: "{{ local_app_root }}/.env"
|
||||
dest: "{{ remote_app_root }}"
|
||||
dest: "{{ remote_app_root }}/.env"
|
||||
|
||||
- name: Run `yarn install` to install dependencies remotely
|
||||
command:
|
||||
|
|
Loading…
Reference in a new issue