Fakultas Ilmu Komputer UI

Commit 5b29cf6f authored by Fijar Lazuardy's avatar Fijar Lazuardy
Browse files

staging ci

parent f763fc91
Pipeline #59618 failed with stage
in 51 seconds
......@@ -13,7 +13,7 @@ deploy-staging:
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script:
- ssh $SSH_USER@$SSH_IP "cd jitsi-no-jutsu-backend && git pull origin main"
- ssh $SSH_USER@$SSH_IP "cd jitsi-no-jutsu-backend && git pull origin staging"
- ssh $SSH_USER@$SSH_IP "docker-compose down"
- ssh $SSH_USER@$SSH_IP "docker-compose up --build -d"
#- ssh $SSH_USER@$SSH_IP "docker run -d jitsi-no-jutsu-backend"
......@@ -16,4 +16,4 @@ RUN npm install
COPY . .
EXPOSE 8080
CMD [ "npm", "start" ]
\ No newline at end of file
CMD [ "npm", "run","start:prod" ]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment