Update prod deployment script to add --delete to rsync job
This commit is contained in:
parent
11ba4bb411
commit
366a1d9641
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ jobs:
|
|||
- run: yarn test
|
||||
|
||||
- name: "Copy files over to location"
|
||||
run: rsync -rvzP . ${{ secrets.PROD_REPO_PATH }}
|
||||
run: rsync -rvzP --delete . ${{ secrets.PROD_REPO_PATH }}
|
||||
|
||||
deploy:
|
||||
environment: prod
|
||||
|
|
Loading…
Reference in a new issue