Use rsync
This commit is contained in:
parent
2ac2737bc0
commit
d3a0c418be
4 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ jobs:
|
|||
- run: yarn test
|
||||
|
||||
- name: "Copy files over to location"
|
||||
run: cp -r . ${{ secrets.HOTFIX_REPO_PATH }}
|
||||
run: rsync -rvzP . ${{ secrets.HOTFIX_REPO_PATH }}
|
||||
|
||||
deploy:
|
||||
environment: prod
|
||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- run: yarn test
|
||||
|
||||
- name: "Copy files over to location"
|
||||
run: cp -r . ${{ secrets.PROD_REPO_PATH }}
|
||||
run: rsync -rvzP . ${{ secrets.PROD_REPO_PATH }}
|
||||
|
||||
deploy:
|
||||
environment: prod
|
||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- run: yarn test
|
||||
|
||||
- name: "Copy files over to location"
|
||||
run: cp -r . ${{ secrets.RELEASE_REPO_PATH }}
|
||||
run: rsync -rvzP . ${{ secrets.RELEASE_REPO_PATH }}
|
||||
|
||||
deploy:
|
||||
environment: prod
|
||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- run: yarn test
|
||||
|
||||
- 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