Skip to content

Commit a2f491e

Browse files
Add --chmod flags to rsync for fixing deployment permissions
1 parent 48beb1d commit a2f491e

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
@@ -57,7 +57,7 @@ jobs:
5757
- name: Deploy documentation
5858
uses: burnett01/rsync-deployments@7.0.1
5959
with:
60-
switches: -vzr --delete
60+
switches: -vzr --delete --chmod=D755,F644
6161
path: common/public/${{ env.PRODUCT }}
6262
remote_path: ${{ secrets.DOCS_SSH_DIR }}
6363
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
@@ -61,7 +61,7 @@ jobs:
6161
- name: Deploy documentation
6262
uses: burnett01/rsync-deployments@7.0.1
6363
with:
64-
switches: -vzr --delete
64+
switches: -vzr --delete --chmod=D755,F644
6565
path: common/public/${{ env.PRODUCT }}
6666
remote_path: ${{ secrets.DOCS_QA_SSH_DIR }}
6767
remote_host: ${{ secrets.DOCS_SSH_HOST }}

0 commit comments

Comments
 (0)