Skip to content

Commit ea1ea67

Browse files
committed
change create dir + file permissions on 2 different lines to workaround "Operation not permitted" error
1 parent 233af66 commit ea1ea67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: .github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ jobs:
9595
9696
- name: Ensure file permissions
9797
run: |
98-
kamal server exec --no-interactive "mkdir -p /opt/docker/${{ env.repository_name }}/App_Data && chown -R 1654:1654 /opt/docker/${{ env.repository_name }}"
98+
kamal server exec --no-interactive "mkdir -p /opt/docker/${{ env.repository_name }}/App_Data"
99+
kamal server exec --no-interactive "chown -R 1654:1654 /opt/docker/${{ env.repository_name }}"
99100
100101
- name: Migration
101102
if: env.HAS_MIGRATIONS == 'true'

0 commit comments

Comments
 (0)