Skip to content

Commit 7d2a4ca

Browse files
Add --chmod flags to rsync for fixing deployment permissions
1 parent 8edfda6 commit 7d2a4ca

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
@@ -58,7 +58,7 @@ jobs:
5858
- name: Deploy documentation
5959
uses: burnett01/rsync-deployments@7.0.1
6060
with:
61-
switches: -vzr --delete
61+
switches: -vzr --delete --chmod=D755,F644
6262
path: common/public/${{ env.PRODUCT }}
6363
remote_path: ${{ secrets.DOCS_SSH_DIR }}
6464
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
@@ -54,7 +54,7 @@ jobs:
5454
- name: Deploy documentation
5555
uses: burnett01/rsync-deployments@7.0.1
5656
with:
57-
switches: -vzr --delete
57+
switches: -vzr --delete --chmod=D755,F644
5858
path: common/public/${{ env.PRODUCT }}
5959
remote_path: ${{ secrets.DOCS_QA_SSH_DIR }}
6060
remote_host: ${{ secrets.DOCS_SSH_HOST }}

0 commit comments

Comments
 (0)