3 Star 0 Fork 0

Choreograph_execute/chor_js_modify

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.gitlab-ci.yml 662 Bytes
一键复制 编辑 原始数据 按行查看 历史
florian-papsdorf 提交于 2021-09-23 10:27 . Move deployment to new host
stages:
- build
- deploy
buildImage:
stage: build
tags:
- dockerbuilder
script:
- docker build -t bptlab/chor-js-demo:master .
- docker push bptlab/chor-js-demo:master
deployOnDockerHost:
stage: deploy
only:
- master
image: alpine:3.12
before_script:
- apk update
# configure ssh tools
- 'which ssh-agent || ( apk add openssh-client )'
- mkdir -p ~/.ssh
- eval $(ssh-agent -s)
# take care to deploy private key in GitLab as corresponding env var
- echo "$identitykey" | ssh-add -
script:
- ssh -o StrictHostKeyChecking=no $deployuser@$targethost '/var/docker-routines/chor-js-demo/deploy.sh'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/choreograph_execute/chor_js_modify.git
git@gitee.com:choreograph_execute/chor_js_modify.git
choreograph_execute
chor_js_modify
chor_js_modify
master

搜索帮助