f
This commit is contained in:
parent
eaa4d1c23b
commit
786d7049b9
@ -19,12 +19,5 @@ deploy_production:
|
|||||||
- ssh-keyscan -H "$DEPLOY_HOST" >> ~/.ssh/known_hosts
|
- ssh-keyscan -H "$DEPLOY_HOST" >> ~/.ssh/known_hosts
|
||||||
script:
|
script:
|
||||||
- ssh "$DEPLOY_USER@$DEPLOY_HOST" "mkdir -p /opt/apps/api-finance"
|
- ssh "$DEPLOY_USER@$DEPLOY_HOST" "mkdir -p /opt/apps/api-finance"
|
||||||
- rsync -az --delete \
|
- rsync -az --delete --exclude='.git' --exclude='.env' --exclude='.env.*' --exclude='node_modules' --exclude='coverage' --exclude='dist' ./ "$DEPLOY_USER@$DEPLOY_HOST:/opt/apps/api-finance/"
|
||||||
--exclude='.git' \
|
|
||||||
--exclude='.env' \
|
|
||||||
--exclude='.env.*' \
|
|
||||||
--exclude='node_modules' \
|
|
||||||
--exclude='coverage' \
|
|
||||||
--exclude='dist' \
|
|
||||||
./ "$DEPLOY_USER@$DEPLOY_HOST:/opt/apps/api-finance/"
|
|
||||||
- ssh "$DEPLOY_USER@$DEPLOY_HOST" "cd /opt/apps/api-finance && docker compose -f docker-compose.server.yml up -d --build"
|
- ssh "$DEPLOY_USER@$DEPLOY_HOST" "cd /opt/apps/api-finance && docker compose -f docker-compose.server.yml up -d --build"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user