Use rsync

This commit is contained in:
Ethan Lane 2024-12-10 10:07:23 +00:00
parent 6acc5a9a02
commit 665fc293b5
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ jobs:
- run: yarn test
- name: "Copy files over to location"
run: cp -r . ${{ secrets.PROD_REPO_PATH }}
run: rsync -r . ${{ secrets.PROD_REPO_PATH }}
deploy:
environment: prod

View file

@ -22,7 +22,7 @@ jobs:
- run: yarn test
- name: "Copy files over to location"
run: cp -r . ${{ secrets.STAGE_REPO_PATH }}
run: rsync -r . ${{ secrets.STAGE_REPO_PATH }}
deploy:
environment: prod