Skip to content

Commit feae591

Browse files
Add --chmod flags to rsync for fixing deployment permissions
1 parent 4560198 commit feae591

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Deploy documentation
6060
uses: burnett01/rsync-deployments@7.0.1
6161
with:
62-
switches: -vzr --delete
62+
switches: -vzr --delete --chmod=D755,F644
6363
path: common/public/${{ env.PRODUCT }}
6464
remote_path: ${{ secrets.DOCS_SSH_DIR }}
6565
remote_host: ${{ secrets.DOCS_SSH_HOST }}

.github/workflows/publish-qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Deploy documentation
5656
uses: burnett01/rsync-deployments@7.0.1
5757
with:
58-
switches: -vzr --delete
58+
switches: -vzr --delete --chmod=D755,F644
5959
path: common/public/${{ env.PRODUCT }}
6060
remote_path: ${{ secrets.DOCS_QA_SSH_DIR }}
6161
remote_host: ${{ secrets.DOCS_SSH_HOST }}

0 commit comments

Comments
 (0)