From e4cbe765d5b8a67ffa6118f5d851b1a3187c86bb Mon Sep 17 00:00:00 2001 From: Josue Gomez Date: Thu, 1 Jun 2023 21:17:19 -0600 Subject: [PATCH] SIC-62 #comment se realiza el despliegue del repositorio con locale --- bitbucket-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 79f3036..a68811b 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -12,4 +12,4 @@ pipelines: - curl ipinfo.io/ip - git archive --format=tar HEAD | gzip > locale_bundle.tar.gz - sshpass -p $DEVELOP_SERVER_PASSWORD scp -o StrictHostKeyChecking=no locale_bundle.tar.gz $DEVELOP_SERVER_USERNAME@$DEVELOP_SERVER_IP:/app - - sshpass -p $DEVELOP_SERVER_PASSWORD ssh -o StrictHostKeyChecking=no $DEVELOP_SERVER_USERNAME@$DEVELOP_SERVER_IP "cd /app && rm -rf sic_locale && tar -xzf /app/locale_bundle.tar.gz -C /app/sic_locale && source /app/venv/bin/activate && cd /app/sicweb && python manage.py compilemessages && sudo systemctl restart sicweb.policies.service && sudo systemctl restart sicweb.service" + - sshpass -p $DEVELOP_SERVER_PASSWORD ssh -o StrictHostKeyChecking=no $DEVELOP_SERVER_USERNAME@$DEVELOP_SERVER_IP "cd /app && rm -rf sic_locale && mkdir sic_locale && tar -xzf /app/locale_bundle.tar.gz -C /app/sic_locale && source /app/venv/bin/activate && cd /app/sicweb && python manage.py compilemessages && sudo systemctl restart sicweb.policies.service && sudo systemctl restart sicweb.service"