Skip to content

Commit 5381ffa

Browse files
authored
Update deploy.yml
1 parent 26beaa9 commit 5381ffa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
ssh-add ~/.ssh/deploy-key
3333
3434
# Clone repo if not exists, otherwise pull
35-
if [ ! -d "/home/ubuntu/skribble-app/.git" ]; then
36-
git clone git@github.com:paramsgit/scribble.git /home/ubuntu/skribble-app
35+
if [ ! -d "/home/ubuntu/scribble/.git" ]; then
36+
git clone git@github.com:paramsgit/scribble.git /home/ubuntu
3737
else
38-
cd /home/ubuntu/skribble-app
38+
cd /home/ubuntu/scribble
3939
git pull origin main
4040
fi
4141
4242
# Run docker compose
43-
cd /home/ubuntu/skribble-app
43+
cd /home/ubuntu/scribble
4444
docker compose down
4545
docker compose up -d --build

0 commit comments

Comments
 (0)