Skip to content

Commit 237315e

Browse files
Samuel Volchenboumclaude
authored andcommitted
fix: remove sudo from deploy script
sudo requires a TTY which isn't available in the heredoc SSH session. The SSH user should have direct write access to /srv/docker/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2c980b7 commit 237315e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ jobs:
2121
tailscale ssh ${{ secrets.LAKEHOUSE_USER }}@${{ secrets.LAKEHOUSE_HOST }} << 'EOF'
2222
set -e
2323
if [ ! -d /srv/docker/world ]; then
24-
sudo mkdir -p /srv/docker/world
25-
sudo chown $USER:$USER /srv/docker/world
24+
mkdir -p /srv/docker/world
2625
git clone https://github.com/${{ github.repository }}.git /srv/docker/world
2726
fi
2827
cd /srv/docker/world

0 commit comments

Comments
 (0)