Skip to content

Commit ef5000f

Browse files
Add --chmod flags to rsync for fixing deployment permissions
1 parent 1aa41e0 commit ef5000f

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
@@ -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_SSH_DIR }}
6161
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
@@ -56,7 +56,7 @@ jobs:
5656
- name: Deploy documentation
5757
uses: burnett01/rsync-deployments@7.0.1
5858
with:
59-
switches: -vzr --delete
59+
switches: -vzr --delete --chmod=D755,F644
6060
path: common/public/${{ env.PRODUCT }}
6161
remote_path: ${{ secrets.DOCS_QA_SSH_DIR }}
6262
remote_host: ${{ secrets.DOCS_SSH_HOST }}

0 commit comments

Comments
 (0)