我想設置從gitlab分支到數字海洋液滴的自動部署。我使用液滴創建了一個runner和exec git clone。但現在我不能配置我的gitlab-ci.yml從分支「dev」自動部署到液滴。自動部署與gitlab持續集成
我gitlab-ci.yml:
image: python:3.5
staging:
type: deploy
only:
- dev
script:
# there must be some kind of connection to the droplet to further code executed already on server
- git pull
# - server restart
如何連接到服務器gitlab-ci.yml使 「混帳拉」 的命令?
我不希望它在數字海洋服務器上,它是我設置的本地Windows服務器, –
@Oliver,你可以看看這個問題嗎? –