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

Update .gitlab-ci.yml file

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