Skip to content

Commit 5c84422

Browse files
gitlab-ci
1 parent 4ee78bc commit 5c84422

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitlab-ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ deploy-job:
2727
. ~/.zshrc &&
2828
cd /home/$SSH_USER/www/$CI_PROJECT_NAME &&
2929
git pull &&
30-
/home/$SSH_USER/.nvm/versions/node/v$NODE_VERSION/bin/pnpm i &&
31-
/home/$SSH_USER/.nvm/versions/node/v$NODE_VERSION/bin/pnpm build &&
30+
docker compose down &&
31+
docker compose up -d &&
3232
notifier '$CI_PROJECT_TITLE deployed'"
3333
only:
3434
- main

0 commit comments

Comments
 (0)