Skip to content

Commit ea45d56

Browse files
hendisantikaclaude
andcommitted
fix: use sudo for chown on data directory
The deployer user needs sudo to change ownership to UID 1000. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c5e7441 commit ea45d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
5555
- name: Create app directory on server
5656
run: |
57-
ssh deployer@103.31.204.189 'mkdir -p ~/jvmid-bot/data && chown 1000:1000 ~/jvmid-bot/data'
57+
ssh deployer@103.31.204.189 'mkdir -p ~/jvmid-bot/data && sudo chown 1000:1000 ~/jvmid-bot/data'
5858
5959
- name: Write .env file to server
6060
run: |

0 commit comments

Comments
 (0)