Use rsync -rvzP

This commit is contained in:
Ethan Lane 2024-12-10 10:39:24 +00:00
parent f812467f5e
commit c4abf21013
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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