Skip to content
Snippets Groups Projects
Commit f470fcaf authored by michael.minelli's avatar michael.minelli
Browse files

CI/CD => Add git modules recursivity

parent 2ebd6ca5
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@ deploy:
tags:
- deployment
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_FORCE_HTTPS: "true"
SECURE_FILES_DOWNLOAD_PATH: './'
script:
# Install dependencies
......@@ -23,9 +25,9 @@ deploy:
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- mv known_hosts ~/.ssh/known_hosts
- chmod 600 id_rsa
- chmod 600 DojoDeploy
- eval `ssh-agent -s`
- ssh-add -k id_rsa
- ssh-add -k DojoDeploy
# Deploy
- DOCKER_HOST="ssh://${SSH_USER}@${SSH_HOST}" ./infra --run
only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment