This commit is contained in:
@ -36,8 +36,8 @@ steps:
|
||||
from_secret: CI-DEPLOY-USER
|
||||
commands:
|
||||
- mkdir -p deploy
|
||||
- echo "[jazzwhom_server]" > ansible/inventory.ini
|
||||
- echo "prod_doc_server ansible_host=\${CI_DEPLOY_SERVER} ansible_port=\${CI_DEPLOY_SERVER} ansible_user=\${CI_DEPLOY_USER}" >> ansible/inventory.ini
|
||||
- echo "[jazzwhom_server]" > deploy/inventory.ini
|
||||
- echo "prod_doc_server ansible_host=\${CI_DEPLOY_SERVER} ansible_port=\${CI_DEPLOY_SERVER} ansible_user=\${CI_DEPLOY_USER}" >> deploy/inventory.ini
|
||||
- name: 部署到服务器
|
||||
image: plugins/ansible:3
|
||||
settings:
|
||||
|
||||
Reference in New Issue
Block a user