Skip to content

Commit a3a70ec

Browse files
committed
[deploy] ssh key 수정
1 parent 857a36f commit a3a70ec

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,13 @@ jobs:
5252
# passphrase: ${{ secrets.KEY_PASSPHRASE }} # only if your key has one
5353
script: |
5454
set -e
55-
git config --global --add safe.directory /home/ubuntu/Moodico
55+
sudo chown -R ubuntu:ubuntu /home/ubuntu/Moodico
56+
sudo git config --system --add safe.directory /home/ubuntu/Moodico
57+
5658
cd /home/ubuntu/Moodico
5759
git fetch origin main
5860
git reset --hard origin/main
61+
5962
source venv/bin/activate
6063
pip install --upgrade pip
6164
pip install -r requirements.txt

0 commit comments

Comments
 (0)