Use rsync -rvzP
This commit is contained in:
parent
f812467f5e
commit
c4abf21013
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ jobs:
|
|||
- run: yarn lint
|
||||
|
||||
- name: "Copy files over to location"
|
||||
run: cp -r . ${{ secrets.PROD_REPO_PATH }}
|
||||
run: rsync -rvzP . ${{ secrets.PROD_REPO_PATH }}
|
||||
|
||||
deploy:
|
||||
environment: prod
|
||||
|
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
- run: yarn lint
|
||||
|
||||
- name: "Copy files over to location"
|
||||
run: cp -r . ${{ secrets.STAGE_REPO_PATH }}
|
||||
run: rsync -rvzP . ${{ secrets.STAGE_REPO_PATH }}
|
||||
|
||||
deploy:
|
||||
environment: prod
|
||||
|
|
Loading…
Reference in a new issue