Skip to content
Snippets Groups Projects
Commit d6b82bee authored by marcoemi.poleggi's avatar marcoemi.poleggi
Browse files

Update .gitlab-ci.yml file

parent 8a17b2a7
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,6 @@ deploy_prod: ...@@ -41,6 +41,6 @@ deploy_prod:
url: http://${PRODUCTION_IP} url: http://${PRODUCTION_IP}
script: script:
- echo "Deploying from ${CI_REPOSITORY_URL}::${CI_COMMIT_REF_NAME}" - echo "Deploying from ${CI_REPOSITORY_URL}::${CI_COMMIT_REF_NAME}"
- rsync --rsync-path="sudo rsync" -Cavh ${CI_PROJECT_DIR}/public/ ${SSH_USER}@${PRODUCTION_IP}:/var/www/html/ - rsync --rsync-path="sudo rsync" -Cavh ${CI_PROJECT_DIR}/public/ ${SSH_USER}@${PRODUCTION_IP}:${WEB_ROOT}
only: only:
- main - main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment