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